about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-04-24 21:42:09 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-04-24 21:42:09 +0000
commit5f81c5a08f2da9529a2e885df16df1c81bfac38d (patch)
tree8640127d9ac61ece3a04d1d266eb39563e96c493 /editor
parentdddc32f86335ed2c0cd1211c3440922dbbd04661 (diff)
downloadnetpbm-mirror-5f81c5a08f2da9529a2e885df16df1c81bfac38d.tar.gz
netpbm-mirror-5f81c5a08f2da9529a2e885df16df1c81bfac38d.tar.xz
netpbm-mirror-5f81c5a08f2da9529a2e885df16df1c81bfac38d.zip
Fix uninitialized option definition array
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@883 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r--editor/pnmtile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/pnmtile.c b/editor/pnmtile.c
index 26728055..21512b36 100644
--- a/editor/pnmtile.c
+++ b/editor/pnmtile.c
@@ -50,6 +50,8 @@ parseCommandLine(int argc, const char ** argv,
     opt.short_allowed = FALSE;  /* We have no short (old-fashioned) options */
     opt.allowNegNum = FALSE;  /* We have no parms that are negative numbers */
 
+    OPTENTINIT;
+
     optParseOptions3(&argc, (char**)argv, opt, sizeof opt, 0);
         /* Uses and sets argc, argv, and some of *cmdlineP and others. */