summaryrefslogtreecommitdiffstats
path: root/win/tkWinDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 07:57:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 07:57:18 (GMT)
commite6fe5e1f356751dea5d391b25a6f2437ffebae5f (patch)
tree4810edcd3b39814a55c1d5fb235d768f181bc42a /win/tkWinDraw.c
parent52482ab5023994148201c6b4e71c40b62809b205 (diff)
downloadtk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.zip
tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.tar.gz
tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinDraw.c')
-rw-r--r--win/tkWinDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c
index b2480d6..d0a609f 100644
--- a/win/tkWinDraw.c
+++ b/win/tkWinDraw.c
@@ -750,7 +750,7 @@ RenderObject(dc, gc, points, npoints, mode, pen, func)
HPEN pen;
WinDrawFunc func;
{
- RECT rect;
+ RECT rect = {0, 0, 0, 0};
HPEN oldPen;
HBRUSH oldBrush;
POINT *winPoints = ConvertPoints(points, npoints, mode, &rect);