diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 07:57:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 07:57:18 (GMT) |
commit | e6fe5e1f356751dea5d391b25a6f2437ffebae5f (patch) | |
tree | 4810edcd3b39814a55c1d5fb235d768f181bc42a /win/tkWinMenu.c | |
parent | 52482ab5023994148201c6b4e71c40b62809b205 (diff) | |
download | tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.zip tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.tar.gz tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r-- | win/tkWinMenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c index 280f74e..fe6132f 100644 --- a/win/tkWinMenu.c +++ b/win/tkWinMenu.c @@ -545,7 +545,7 @@ ReconfigureWindowsMenu( UINT flags; UINT itemID; int i, count, systemMenu = 0, base; - int width, height; + int width = 0, height = 0; Tcl_DString translatedText; if (NULL == winMenuHdl) { @@ -1672,7 +1672,7 @@ DrawMenuEntryAccelerator(menuPtr, mePtr, d, gc, tkfont, fmPtr, { int baseline; int leftEdge = x + mePtr->indicatorSpace + mePtr->labelWidth; - char *accel; + char *accel = NULL; if (mePtr->accelPtr != NULL) { accel = Tcl_GetStringFromObj(mePtr->accelPtr, NULL); |