From 3bd078b4e41cc6c97c8b54236f061fb9631b2e1c Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 20 Feb 2003 15:28:36 +0000 Subject: Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788] It served no useful purpose whatsoever... --- ChangeLog | 3 +++ generic/tkImgGIF.c | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index f3f805c..ece0897 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-02-20 Donal K. Fellows + * 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; } -- cgit v0.12