about summary refs log tree commit diff
path: root/editor/pgmdeshadow.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-03 17:08:15 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-03 17:08:15 +0000
commit7d1988fcf11be20d399b7a5fd73a898de0a8dcce (patch)
tree839e709bcf016e08ef265e8c2554c694fe5aed5d /editor/pgmdeshadow.c
parent22cd9eb49b29a45dec1e9cf77067283c5f699aab (diff)
downloadnetpbm-mirror-7d1988fcf11be20d399b7a5fd73a898de0a8dcce.tar.gz
netpbm-mirror-7d1988fcf11be20d399b7a5fd73a898de0a8dcce.tar.xz
netpbm-mirror-7d1988fcf11be20d399b7a5fd73a898de0a8dcce.zip
Fix crash in option processing
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@595 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pgmdeshadow.c')
-rw-r--r--editor/pgmdeshadow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/pgmdeshadow.c b/editor/pgmdeshadow.c
index 482c6661..948c6cba 100644
--- a/editor/pgmdeshadow.c
+++ b/editor/pgmdeshadow.c
@@ -85,6 +85,8 @@ parseCommandLine(int argc, char ** argv,
 
     option_def_index = 0;   /* incremented by OPTENT3 */
 
+    OPTENTINIT;
+
     opt.opt_table = option_def;
     opt.short_allowed = FALSE;  /* We have no short (old-fashioned) options */
     opt.allowNegNum = FALSE;  /* We may have parms that are negative numbers */