diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-09-30 12:33:31 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-09-30 12:33:31 -0400 |
commit | 7bbb5359c0a23061c9bd40e6f7c2a0afbf2906f8 (patch) | |
tree | 0652ed61d0bda55d1eee2bb152ac81e09ddf360e /src | |
parent | a19c7a4a4b773e25671a5fa874e7c421685d1bde (diff) |
systemctl: do not set variable to be immediately overwritten
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a965369c0c..be9d58a03c 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 |