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>
This commit is contained in:
Michael J Gruber 2011-05-25 11:55:43 +02:00 committed by Junio C Hamano
parent 55601c6a45
commit 600a6a68c0

View File

@ -68,7 +68,7 @@ int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {
/* Default values for command line options. */ /* Default values for command line options. */
unsigned short int show_variables = 0; /* unsigned short int show_variables = 0; */
switch (argc) switch (argc)
{ {
@ -88,7 +88,7 @@ main (int argc, char *argv[])
/* git sh-i18n--envsubst --variables '$foo and $bar' */ /* git sh-i18n--envsubst --variables '$foo and $bar' */
if (strcmp(argv[1], "--variables")) if (strcmp(argv[1], "--variables"))
error ("first argument must be --variables when two are given"); error ("first argument must be --variables when two are given");
show_variables = 1; /* show_variables = 1; */
print_variables (argv[2]); print_variables (argv[2]);
break; break;
default: default: