diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2003-02-20 15:28:36 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2003-02-20 15:28:36 (GMT) |
commit | 3bd078b4e41cc6c97c8b54236f061fb9631b2e1c (patch) | |
tree | 6388876e60a0c2b90cb72da62e0336a3fc8b25f4 /generic/tkImgGIF.c | |
parent | e6b3ee423b2024f0b7dcefe5bbef2c3c489f17b2 (diff) | |
download | tk-3bd078b4e41cc6c97c8b54236f061fb9631b2e1c.zip tk-3bd078b4e41cc6c97c8b54236f061fb9631b2e1c.tar.gz tk-3bd078b4e41cc6c97c8b54236f061fb9631b2e1c.tar.bz2 |
Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]
It served no useful purpose whatsoever...
Diffstat (limited to 'generic/tkImgGIF.c')
-rw-r--r-- | generic/tkImgGIF.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c index b34365e..1f4a79b 100644 --- a/generic/tkImgGIF.c +++ b/generic/tkImgGIF.c @@ -29,7 +29,7 @@ * | provided "as is" without express or implied warranty. | * +-------------------------------------------------------------------+ * - * RCS: @(#) $Id: tkImgGIF.c,v 1.23 2003/02/18 14:03:46 dkf Exp $ + * RCS: @(#) $Id: tkImgGIF.c,v 1.24 2003/02/20 15:28:40 dkf Exp $ */ /* @@ -743,8 +743,6 @@ DoExtension(chan, label, transparent) return count; } -static int ZeroDataBlock = 0; - static int GetDataBlock(chan, buf) Tcl_Channel chan; @@ -756,8 +754,6 @@ GetDataBlock(chan, buf) return -1; } - ZeroDataBlock = count == 0; - if ((count != 0) && (! ReadOK(chan, buf, count))) { return -1; } |