summaryrefslogtreecommitdiff
path: root/src/firstboot
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-09-11 21:29:59 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-09-11 21:29:59 +0200
commite926f6475d2f7063f8190076a0dc9ff7ecb227c8 (patch)
tree257c37b22c759ed57cb506360a6b70952493d84f /src/firstboot
parent807d0cca2b0daf4cd725298c1b5e062b1126f15b (diff)
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
Diffstat (limited to 'src/firstboot')
-rw-r--r--src/firstboot/firstboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index fd73adbac8..215c059ee2 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;