Code

tag: die when listing missing or corrupt objects
[git.git] / sh-i18n--envsubst.c
index 71250930dba09fbc6b1b638230cfa30253915a26..9d2e971a275ede8a1365b2a2737452a873586707 100644 (file)
@@ -51,7 +51,6 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #include <errno.h>
-#include <getopt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -68,7 +67,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 +87,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: