diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-06-09 16:00:36 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-06-09 16:00:36 +0000 |
commit | 45433b8e356ea78768824d57df451408f47a1d32 (patch) | |
tree | 973c360384ec7bf6d96921da13dfb60812690f2a | |
parent | d75f248e597002e491d5a80ab516fb1170ea71f9 (diff) | |
download | netpbm-mirror-45433b8e356ea78768824d57df451408f47a1d32.tar.gz netpbm-mirror-45433b8e356ea78768824d57df451408f47a1d32.tar.xz netpbm-mirror-45433b8e356ea78768824d57df451408f47a1d32.zip |
Fix uninitialized variable with Standard Input input
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@649 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/pnmtopclxl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/converter/other/pnmtopclxl.c b/converter/other/pnmtopclxl.c index 7ba64210..9819ebe4 100644 --- a/converter/other/pnmtopclxl.c +++ b/converter/other/pnmtopclxl.c @@ -176,8 +176,9 @@ parseCommandLine(int argc, char ** argv, if (argc-1 < 1) { MALLOCVAR(cmdlineP->sourceP); cmdlineP->sourceP->name = "-"; + cmdlineP->sourceP->next = NULL; } else { - int i; + unsigned int i; InputSource ** nextLinkP; nextLinkP = &cmdlineP->sourceP; |