diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-11 09:13:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-03-11 09:13:00 (GMT) |
commit | 1c329fda154991dc5abe51c9359959e52c4e5b12 (patch) | |
tree | ea566fcf8a2d7d74ab5c138cf1af6d5e36902fb1 /generic/ttk/ttkDefaultTheme.c | |
parent | a3703410046da03d85aa4594af1bc82c8255de48 (diff) | |
download | tk-1c329fda154991dc5abe51c9359959e52c4e5b12.zip tk-1c329fda154991dc5abe51c9359959e52c4e5b12.tar.gz tk-1c329fda154991dc5abe51c9359959e52c4e5b12.tar.bz2 |
Eliminate some unneeded write-only variables (discovered by gcc-4.6)
Diffstat (limited to 'generic/ttk/ttkDefaultTheme.c')
-rw-r--r-- | generic/ttk/ttkDefaultTheme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c index 07bc3ec..3bb3db7 100644 --- a/generic/ttk/ttkDefaultTheme.c +++ b/generic/ttk/ttkDefaultTheme.c @@ -499,7 +499,7 @@ static void IndicatorElementDraw( IndicatorElement *indicator = elementRecord; Display *display = Tk_Display(tkwin); Ttk_Padding padding; - XColor *fgColor, *frameColor, *lightColor, *shadeColor, *indicatorColor, *borderColor; + XColor *fgColor, *frameColor, *shadeColor, *indicatorColor, *borderColor; int index, ix, iy; XGCValues gcValues; @@ -529,7 +529,6 @@ static void IndicatorElementDraw( */ fgColor = Tk_GetColorFromObj(tkwin, indicator->foregroundObj); frameColor = Tk_GetColorFromObj(tkwin, indicator->backgroundObj); - lightColor = Tk_GetColorFromObj(tkwin, indicator->lightColorObj); shadeColor = Tk_GetColorFromObj(tkwin, indicator->shadeColorObj); indicatorColor = Tk_GetColorFromObj(tkwin, indicator->colorObj); borderColor = Tk_GetColorFromObj(tkwin, indicator->borderColorObj); |