summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 55601c6)
raw | patch | inline | side by side (parent: 55601c6)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Wed, 25 May 2011 09:55:43 +0000 (11:55 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 May 2011 16:35:59 +0000 (09:35 -0700) |
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>
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>
sh-i18n--envsubst.c | patch | blob | history |
diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c
index 71250930dba09fbc6b1b638230cfa30253915a26..2eb0ee44b87a08750e3789ff9132d55a6abd96f9 100644 (file)
--- a/sh-i18n--envsubst.c
+++ b/sh-i18n--envsubst.c
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)
{
/* 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: