sh-18n: quell "unused variable" warning

show_variables is set but never used. Comment it out rather than remove it so that the relation with upstream remains clear. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed May 25, 2011 at 11:55 UTC 600a6a68c0c744fdb801f863291e4d60696dfeb7
1 file changed +2 -2
sh-i18n--envsubst.c
+2 -2
@@ -68,7 +68,7 @@ int
68 main (int argc, char *argv[])
69 {
70 /* Default values for command line options. */
71 - unsigned short int show_variables = 0;
71 + /* unsigned short int show_variables = 0; */
72
73 switch (argc)
74 {
@@ -88,7 +88,7 @@ main (int argc, char *argv[])
88 /* git sh-i18n--envsubst --variables '$foo and $bar' */
89 if (strcmp(argv[1], "--variables"))
90 error ("first argument must be --variables when two are given");
91 - show_variables = 1;
91 + /* show_variables = 1; */
92 print_variables (argv[2]);
93 break;
94 default: