diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2011-05-25 11:55:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-25 09:35:59 -0700 |
commit | 600a6a68c0c744fdb801f863291e4d60696dfeb7 (patch) | |
tree | 033e8896ddd9e3b4725077c080099443eeb63086 /sh-i18n--envsubst.c | |
parent | doc: discuss textconv versus external diff drivers (diff) | |
download | tgif-600a6a68c0c744fdb801f863291e4d60696dfeb7.tar.xz |
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>
Diffstat (limited to 'sh-i18n--envsubst.c')
-rw-r--r-- | sh-i18n--envsubst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 71250930db..2eb0ee44b8 100644 --- a/sh-i18n--envsubst.c +++ b/sh-i18n--envsubst.c @@ -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) { @@ -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: |