diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-20 11:22:34 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-21 10:27:28 +0100 |
commit | 32e60534c7e2b6093de74bd75d37cb117f1d3a5c (patch) | |
tree | e56a4a004d97c6dee209b87d03c1c9875f6faf57 /utils | |
parent | 448d06e8dc5c06f111bb6baae7d456e174225729 (diff) |
utils: fix dead initialization
Found using the Clang Static Analyzer.
* utils/frobauth.c (posix_parse_opt): Fix dead initialization.
(no_ugids_parse_opt): Likewise.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/frobauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/frobauth.c b/utils/frobauth.c index ccb7c3bb..44690d82 100644 --- a/utils/frobauth.c +++ b/utils/frobauth.c @@ -209,7 +209,7 @@ ea_parse_opt (int key, char *arg, struct argp_state *state) static error_t posix_parse_opt (int key, char *arg, struct argp_state *state) { - struct frobauth_argp_state *fs = state->hook; + struct frobauth_argp_state *fs; switch (key) { @@ -233,7 +233,7 @@ posix_parse_opt (int key, char *arg, struct argp_state *state) static error_t no_ugids_parse_opt (int key, char *arg, struct argp_state *state) { - struct frobauth_argp_state *fs = state->hook; + struct frobauth_argp_state *fs; switch (key) { |