diff --git a/ctdb/utils/ping_pong/ping_pong.c b/ctdb/utils/ping_pong/ping_pong.c index f7f2eb1ed16..3597daac201 100644 --- a/ctdb/utils/ping_pong/ping_pong.c +++ b/ctdb/utils/ping_pong/ping_pong.c @@ -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); }