about summary refs log tree commit diff
path: root/analyzer/pgmhist.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-04 17:01:18 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-12-04 17:01:18 +0000
commite25552d8ec73ac0d19ea5c3c4cad34928f952de8 (patch)
treea9c1d639032ed54949e72d0e461d3cd82d9ed0f7 /analyzer/pgmhist.c
parent0c19d160d0d0cba6ff7fd5a67e704ead2296c3c4 (diff)
downloadnetpbm-mirror-e25552d8ec73ac0d19ea5c3c4cad34928f952de8.tar.gz
netpbm-mirror-e25552d8ec73ac0d19ea5c3c4cad34928f952de8.tar.xz
netpbm-mirror-e25552d8ec73ac0d19ea5c3c4cad34928f952de8.zip
Release 10.60.04
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1798 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'analyzer/pgmhist.c')
-rw-r--r--analyzer/pgmhist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/analyzer/pgmhist.c b/analyzer/pgmhist.c
index 5db1c0e6..fc55b1a7 100644
--- a/analyzer/pgmhist.c
+++ b/analyzer/pgmhist.c
@@ -40,9 +40,11 @@ parseCommandLine(int argc, const char ** argv,
     optEntry * option_def;
     unsigned int option_def_index;
     
-    MALLOCARRAY(option_def, 100);
+    MALLOCARRAY_NOFAIL(option_def, 100);
 
-    option_def_index = 0;   /* incremented by OPTENTRY */
+    option_def_index = 0;   /* incremented by OPTENT3 */
+
+    OPTENTINIT;
 
     opt.opt_table = option_def;
     opt.short_allowed = FALSE;  /* We have no short (old-fashioned) options */