summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 07:57:18 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 07:57:18 (GMT)
commitfb4440681afebe563603f66b8dc97cb1f831d5ea (patch)
tree4810edcd3b39814a55c1d5fb235d768f181bc42a /generic/tkListbox.c
parent6c13e0123b30e10d01720ba43a2810758566e544 (diff)
downloadtk-fb4440681afebe563603f66b8dc97cb1f831d5ea.zip
tk-fb4440681afebe563603f66b8dc97cb1f831d5ea.tar.gz
tk-fb4440681afebe563603f66b8dc97cb1f831d5ea.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r--generic/tkListbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index 0aa66ff..cc73937 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -1821,7 +1821,7 @@ DisplayListbox(clientData)
register Listbox *listPtr = (Listbox *) clientData;
register Tk_Window tkwin = listPtr->tkwin;
GC gc;
- int i, limit, x, y, width, prevSelected, freeGC;
+ int i, limit, x, y, width = 0, prevSelected, freeGC;
Tk_FontMetrics fm;
Tcl_Obj *curElement;
Tcl_HashEntry *entry;