diff options
author | dgp@users.sourceforge.net <dgp> | 2004-06-08 20:28:19 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2004-06-08 20:28:19 (GMT) |
commit | f8edec64c28173efc8cc90ff9bf8eb1a9631937c (patch) | |
tree | 19316394432448d84d95a9069c57a13f7d7fed04 /generic/tkCanvLine.c | |
parent | a099c2198ae3adc3b32180387b817e5a1ea01e4c (diff) | |
download | tk-f8edec64c28173efc8cc90ff9bf8eb1a9631937c.zip tk-f8edec64c28173efc8cc90ff9bf8eb1a9631937c.tar.gz tk-f8edec64c28173efc8cc90ff9bf8eb1a9631937c.tar.bz2 |
Silence compiler warnings
Diffstat (limited to 'generic/tkCanvLine.c')
-rw-r--r-- | generic/tkCanvLine.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/generic/tkCanvLine.c b/generic/tkCanvLine.c index a10ff55..8017829 100644 --- a/generic/tkCanvLine.c +++ b/generic/tkCanvLine.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvLine.c,v 1.14 2004/01/13 02:06:00 davygrvy Exp $ + * RCS: @(#) $Id: tkCanvLine.c,v 1.15 2004/06/08 20:28:19 dgp Exp $ */ #include <stdio.h> @@ -858,7 +858,6 @@ DisplayLine(canvas, itemPtr, display, drawable, x, y, width, height) double linewidth; int numPoints; Tk_State state = itemPtr->state; - Pixmap stipple = linePtr->outline.stipple; if ((!linePtr->numPoints)||(linePtr->outline.gc==None)) { return; @@ -869,16 +868,10 @@ DisplayLine(canvas, itemPtr, display, drawable, x, y, width, height) } linewidth = linePtr->outline.width; if (((TkCanvas *)canvas)->currentItemPtr == itemPtr) { - if (linePtr->outline.activeStipple != None) { - stipple = linePtr->outline.activeStipple; - } if (linePtr->outline.activeWidth != linewidth) { linewidth = linePtr->outline.activeWidth; } } else if (state==TK_STATE_DISABLED) { - if (linePtr->outline.disabledStipple != None) { - stipple = linePtr->outline.disabledStipple; - } if (linePtr->outline.disabledWidth != linewidth) { linewidth = linePtr->outline.disabledWidth; } |