From: Thomas Hindoe Paaboel Andersen Date: Thu, 2 Oct 2014 19:26:11 +0000 (+0200) Subject: firstboot: silence coverity X-Git-Tag: v217~355 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=94956f8fba498d5d34a88a7e26b0418a4a0e9e6d firstboot: silence coverity CID#1237537 --- diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index 215c059ee..f586c2ef7 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -68,7 +68,7 @@ static bool press_any_key(void) { printf("-- Press any key to proceed --"); fflush(stdout); - read_one_char(stdin, &k, USEC_INFINITY, &need_nl); + (void) read_one_char(stdin, &k, USEC_INFINITY, &need_nl); if (need_nl) putchar('\n');