diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-08-16 07:57:18 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-08-16 07:57:18 (GMT) |
commit | f798cf0627376fefc787f0e99227ff38959e9c2e (patch) | |
tree | 4810edcd3b39814a55c1d5fb235d768f181bc42a /generic/tkCanvLine.c | |
parent | 4fe5a4a3863b99849ff94e774cdaa111b8a8dc3b (diff) | |
download | tk-f798cf0627376fefc787f0e99227ff38959e9c2e.zip tk-f798cf0627376fefc787f0e99227ff38959e9c2e.tar.gz tk-f798cf0627376fefc787f0e99227ff38959e9c2e.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
FossilOrigin-Name: 38034808be38fbcdb44a49cba6daaf9ac1579a49
Diffstat (limited to 'generic/tkCanvLine.c')
-rw-r--r-- | generic/tkCanvLine.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/generic/tkCanvLine.c b/generic/tkCanvLine.c index 747e42c..4c7b9be 100644 --- a/generic/tkCanvLine.c +++ b/generic/tkCanvLine.c @@ -864,7 +864,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; @@ -875,16 +874,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; } |