[systemd-commits] src/firstboot

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Thu Oct 2 12:37:59 PDT 2014


 src/firstboot/firstboot.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 94956f8fba498d5d34a88a7e26b0418a4a0e9e6d
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Thu Oct 2 21:26:11 2014 +0200

    firstboot: silence coverity
    
    CID#1237537

diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index 215c059..f586c2e 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');



More information about the systemd-commits mailing list