From: Zbigniew Jędrzejewski-Szmek Date: Wed, 30 Sep 2015 16:33:31 +0000 (-0400) Subject: systemctl: do not set variable to be immediately overwritten X-Git-Tag: v227~48^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bbb5359c0a23061c9bd40e6f7c2a0afbf2906f8;p=thirdparty%2Fsystemd.git systemctl: do not set variable to be immediately overwritten --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a965369c0c8..be9d58a03c5 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3110,7 +3110,7 @@ static int start_special(int argc, char *argv[], void *userdata) { return r; } else if (a == ACTION_EXIT && argc > 1) { - uint8_t code = 0; + uint8_t code; /* If the exit code is not given on the command line, * don't reset it to zero: just keep it as it might