1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-utils: CID 1343331 Unchecked return value from library (CHECKED_RETURN)

Explicitly ignore keyboard input in ping_pong.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2017-02-23 13:14:27 +11:00 committed by Martin Schwenke
parent 55b75e4ece
commit 42d0577217

View File

@ -267,7 +267,7 @@ int main(int argc, char *argv[])
printf("Holding lock, press any key to continue...\n");
printf("You should run the same command on another node now.\n");
getchar();
(void)getchar();
printf("Good bye.\n");
exit(0);
}