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
commit bcbac83a8b
Notes: sideshowbarker 2024-07-19 03:30:26 +09:00

View file

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