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/tkWin3d.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/tkWin3d.c')
-rw-r--r-- | win/tkWin3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWin3d.c b/win/tkWin3d.c index 7016db9..8b541e7 100644 --- a/win/tkWin3d.c +++ b/win/tkWin3d.c @@ -123,7 +123,7 @@ Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height, * exterior. */ { TkBorder *borderPtr = (TkBorder *) border; - int left, right; + int left = 0, right = 0; Display *display = Tk_Display(tkwin); TkWinDCState state; HDC dc = TkWinGetDrawableDC(display, drawable, &state); @@ -223,7 +223,7 @@ Tk_3DHorizontalBevel(tkwin, drawable, border, x, y, width, height, int bottom, halfway, x1, x2, x1Delta, x2Delta; TkWinDCState state; HDC dc = TkWinGetDrawableDC(display, drawable, &state); - int topColor, bottomColor; + int topColor = 0, bottomColor = 0; if ((borderPtr->lightGC == None) && (relief != TK_RELIEF_FLAT)) { TkpGetShadows(borderPtr, tkwin); |