From 1e36c263748208035066674b146800af37edccc2 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 18 Nov 2012 00:58:17 +0000 Subject: 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 --- editor/pbmpscale.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/pbmpscale.c') 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 */ -- cgit 1.4.1