From: Thomas Hindoe Paaboel Andersen Date: Thu, 11 Sep 2014 19:29:59 +0000 (+0200) Subject: firstboot: silence a warning X-Git-Tag: v217~591 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e926f6475d2f7063f8190076a0dc9ff7ecb227c8;p=elogind.git 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 fd73adbac..215c059ee 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;