[systemd-commits] src/firstboot

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Thu Sep 11 12:33:11 PDT 2014


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

New commits:
commit e926f6475d2f7063f8190076a0dc9ff7ecb227c8
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Thu Sep 11 21:29:59 2014 +0200

    firstboot: silence a warning
    
    No change in behavoir as the fallthrough from ARG_COPY had already
    set arg_copy_locale to true.
    
    Found with coverity. Fixes: CID#1237622

diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index fd73adb..215c059 100644
--- a/src/firstboot/firstboot.c
+++ b/src/firstboot/firstboot.c
@@ -856,6 +856,7 @@ static int parse_argv(int argc, char *argv[]) {
 
                 case ARG_COPY:
                         arg_copy_locale = arg_copy_timezone = arg_copy_root_password = true;
+                        break;
 
                 case ARG_COPY_LOCALE:
                         arg_copy_locale = true;



More information about the systemd-commits mailing list