1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:38:13 +00:00

Userland: Explicitly ignore number of types read, found by Coverity

This commit is contained in:
Brian Gianforcaro 2020-08-16 17:52:56 -07:00 committed by Andreas Kling
parent 9ffbe03bdb
commit bcbac83a8b

View file

@ -36,7 +36,7 @@ static void wait_for_key()
printf("\033[7m--[ more ]--\033[0m");
fflush(stdout);
char dummy;
read(key_fd, &dummy, 1);
(void)read(key_fd, &dummy, 1);
printf("\n");
}