summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-09 21:57:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-09 21:57:44 (GMT)
commitf3736659b6d5266a4ad7f4285bdb897a5b317c2b (patch)
tree9725a5d28c4254be4dbacea3e907a7d9065de89b /generic/ttk
parentc68968c4d0786fb755ff6581001648d7d6f21814 (diff)
parent616031416c952cc595fb538b2dc65cba9a075c4c (diff)
downloadtk-f3736659b6d5266a4ad7f4285bdb897a5b317c2b.zip
tk-f3736659b6d5266a4ad7f4285bdb897a5b317c2b.tar.gz
tk-f3736659b6d5266a4ad7f4285bdb897a5b317c2b.tar.bz2
Fix warning: tkImgListFormat.c:1092:5: warning: variable 'suffixAlpha' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkClassicTheme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/ttk/ttkClassicTheme.c b/generic/ttk/ttkClassicTheme.c
index 3fd0175..cff6aca 100644
--- a/generic/ttk/ttkClassicTheme.c
+++ b/generic/ttk/ttkClassicTheme.c
@@ -626,8 +626,6 @@ static void SliderElementDraw(
Ttk_GetOrientFromObj(NULL, slider->orientObj, &orient);
Tk_GetReliefFromObj(NULL, slider->reliefObj, &relief);
#if 0
-#endif
-#if 0
Tk_GetPixelsFromObj(NULL, tkwin, slider->borderWidthObj, &borderWidth);
#endif