Don't shadow cmdline_parser_params in main().
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Apr 2017 11:25:10 +0000 (13:25 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Apr 2017 11:25:10 +0000 (13:25 +0200)
This avoids

dss.c:1519:32: warning: declaration of 'params' shadows a previous local [-Wshadow]

The warning is harmless, though.

dss.c

diff --git a/dss.c b/dss.c
index 4c068c6..aa8c0ea 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1516,7 +1516,6 @@ int main(int argc, char **argv)
                 * Parse the command line options again, but this time check
                 * that all required options are given.
                 */
-               struct cmdline_parser_params params;
                params.override = 1;
                params.initialize = 1;
                params.check_required = 1;