From 840a028cba931bcefaeeb8f40001360b68c7fbdc Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 15 Jan 2008 00:51:00 +0000 Subject: 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 --- doc/HISTORY | 2 ++ editor/pamundice.c | 6 +----- 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')"); -- cgit 1.4.1