Skip to content

Commit

Permalink
sh-18n: quell "unused variable" warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed May 25, 2011
1 parent 55601c6 commit 600a6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sh-i18n--envsubst.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int
main (int argc, char *argv[])
{
/* Default values for command line options. */
unsigned short int show_variables = 0;
/* unsigned short int show_variables = 0; */

switch (argc)
{
Expand All @@ -88,7 +88,7 @@ main (int argc, char *argv[])
/* git sh-i18n--envsubst --variables '$foo and $bar' */
if (strcmp(argv[1], "--variables"))
error ("first argument must be --variables when two are given");
show_variables = 1;
/* show_variables = 1; */
print_variables (argv[2]);
break;
default:
Expand Down

0 comments on commit 600a6a6

Please sign in to comment.