about summary refs log tree commit diff
path: root/editor/pbmpscale.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-18 00:58:17 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-18 00:58:17 +0000
commit1e36c263748208035066674b146800af37edccc2 (patch)
treec7bd1ea3e702c4cd9c7ac333e7e80920689d7d54 /editor/pbmpscale.c
parenteb5a0b4e1b3698be49ef8e570532ca19c23a9a63 (diff)
downloadnetpbm-mirror-1e36c263748208035066674b146800af37edccc2.tar.gz
netpbm-mirror-1e36c263748208035066674b146800af37edccc2.tar.xz
netpbm-mirror-1e36c263748208035066674b146800af37edccc2.zip
Call OPTENTINIT, as required for an empty option table
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1765 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pbmpscale.c')
-rw-r--r--editor/pbmpscale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/pbmpscale.c b/editor/pbmpscale.c
index e8a3f4c2..afe2bdd4 100644
--- a/editor/pbmpscale.c
+++ b/editor/pbmpscale.c
@@ -96,6 +96,8 @@ parseCommandLine(int argc, const char ** const 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 */