diff options
author | dkf <dkf@noemail.net> | 2003-02-20 15:28:35 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2003-02-20 15:28:35 (GMT) |
commit | 55ff052a9c4906b4cbe5f2640acfd0664ef6d0d5 (patch) | |
tree | 6388876e60a0c2b90cb72da62e0336a3fc8b25f4 | |
parent | 4d47c012889de4194c50ed3939e53ac03e295282 (diff) | |
download | tk-55ff052a9c4906b4cbe5f2640acfd0664ef6d0d5.zip tk-55ff052a9c4906b4cbe5f2640acfd0664ef6d0d5.tar.gz tk-55ff052a9c4906b4cbe5f2640acfd0664ef6d0d5.tar.bz2 |
Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]
It served no useful purpose whatsoever...
FossilOrigin-Name: 619210d9dfb1a02df90225ef3291c222579c088f
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | generic/tkImgGIF.c | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -1,5 +1,8 @@ 2003-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk> + * generic/tkImgGIF.c (GetDataBlock): Removed pointless static + variable ZeroDataBlock [Bug #664788] + * unix/tkUnixFont.c (CanUseFallback): Added argument, passed through from callers to FindSubFontForChar(), so that pointers into the old subfont table to be updated when that table is 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; } |