about summary refs log tree commit diff
path: root/converter/other/giftopnm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-06-15 02:50:22 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-06-15 02:50:22 +0000
commitbec0909889a900a0e5d5651e0b3ceae45d666470 (patch)
treec900e3d2e406d2a4358b935749b37fab2e44abe4 /converter/other/giftopnm.c
parent8d3e7fce9237111c696a9ecc27bbd3381d73c90b (diff)
downloadnetpbm-mirror-bec0909889a900a0e5d5651e0b3ceae45d666470.tar.gz
netpbm-mirror-bec0909889a900a0e5d5651e0b3ceae45d666470.tar.xz
netpbm-mirror-bec0909889a900a0e5d5651e0b3ceae45d666470.zip
Fix variable used before set
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1928 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/giftopnm.c')
-rw-r--r--converter/other/giftopnm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/other/giftopnm.c b/converter/other/giftopnm.c
index abfdb0ba..7d517aad 100644
--- a/converter/other/giftopnm.c
+++ b/converter/other/giftopnm.c
@@ -1218,6 +1218,7 @@ lzwReadByte(struct decompressor * const decompP,
                         *endOfImageP = TRUE;
                         *errorP = NULL;
                     } else {
+                        *endOfImageP = FALSE;
                         expandCodeOntoStack(decompP, code, errorP);
                         if (!*errorP)
                             *dataReadP = popStack(&decompP->stack);