about summary refs log tree commit diff
path: root/buildtools
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-08 00:01:06 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-08 00:01:06 +0000
commit0f1624c3be3804cc4e9e820e8501e98047fe18a8 (patch)
tree23b085b3e43858008fb3c9a5e38f9ddc1a88a8c3 /buildtools
parentdf7d153effd7f8501381a27b9de5aed42fc197b2 (diff)
downloadnetpbm-mirror-0f1624c3be3804cc4e9e820e8501e98047fe18a8.tar.gz
netpbm-mirror-0f1624c3be3804cc4e9e820e8501e98047fe18a8.tar.xz
netpbm-mirror-0f1624c3be3804cc4e9e820e8501e98047fe18a8.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2766 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/libopt.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/buildtools/libopt.c b/buildtools/libopt.c
index a0bf1cda..274e7c66 100644
--- a/buildtools/libopt.c
+++ b/buildtools/libopt.c
@@ -497,21 +497,20 @@ main(int argc, char **argv) {
 
     bool error;
     bool runtime;  /* -runtime option has been seen */
-    bool quiet;    /* -quiet option has been seen */
     int retval;
     unsigned int arg;  /* Index into argv[] of argument we're processing */
     char outputLine[1024];
 
     strcpy(outputLine, "");  /* initial value */
     runtime = FALSE;  /* initial value */
-    quiet = FALSE;   /* initial value */
     error = FALSE;  /* no error yet */
+
     for (arg = 1; arg < argc && !error; arg++) {
         if (strcmp(argv[arg], "-runtime") == 0)
             runtime = TRUE;
-        else if (strcmp(argv[arg], "-quiet") == 0)
-            quiet = TRUE;
-        else {
+        else if (strcmp(argv[arg], "-quiet") == 0) {
+            /* Doesn't do anything today */
+        } else {
             const char * options;
             processOneLibrary(argv[arg], runtime, explicit, 
                               &options, &error);