about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-01-15 00:51:00 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-01-15 00:51:00 +0000
commit840a028cba931bcefaeeb8f40001360b68c7fbdc (patch)
tree843c8cf62cbf378d7cb5f71c0cdc4f47918f901f
parent6368cfe62cafd658a69bca165dc3d28f4d6d08c8 (diff)
downloadnetpbm-mirror-840a028cba931bcefaeeb8f40001360b68c7fbdc.tar.gz
netpbm-mirror-840a028cba931bcefaeeb8f40001360b68c7fbdc.tar.xz
netpbm-mirror-840a028cba931bcefaeeb8f40001360b68c7fbdc.zip
Fix bogus warning about missing -instem option
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@557 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--doc/HISTORY2
-rw-r--r--editor/pamundice.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index 3638094d..8a2b6ab4 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,8 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.42.00
 
+              pamundice: Fix bogus error about missing "-instem" option.
+
               Add pm_tmpfile_fd() and pm_make_tmpfile_fd().
 
               Various things to make it build on Windows without POSIX
diff --git a/editor/pamundice.c b/editor/pamundice.c
index 90bac9f6..5c504356 100644
--- a/editor/pamundice.c
+++ b/editor/pamundice.c
@@ -54,7 +54,7 @@ parseCommandLine(int argc, char ** argv,
     optStruct3 opt;
     
     unsigned int acrossSpec, downSpec;
-    unsigned int instemSpec, hoverlapSpec, voverlapSpec;
+    unsigned int hoverlapSpec, voverlapSpec;
     unsigned int option_def_index;
 
     MALLOCARRAY_NOFAIL(option_def, 100);
@@ -90,10 +90,6 @@ parseCommandLine(int argc, char ** argv,
     if (!voverlapSpec)
         cmdlineP->voverlap = 0;
 
-    if (!instemSpec)
-        pm_error("You must specify the -instem option to indicate where to "
-                 "get the input images.");
-
     if (argc-1 < 1)
         pm_error("You must specify one argument: the input file name "
                  "pattern (e.g. 'myimage%%2a%%2d.pnm')");