summaryrefslogtreecommitdiffstats
path: root/win/tkWinDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 08:15:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 08:15:48 (GMT)
commit0270e5275dc5e3cd164a7b9e2bfaa6fc38c59cef (patch)
tree69d6c8405ca5790ebbc70cb34914e1722804ad88 /win/tkWinDraw.c
parent0edc144061461b953360aecd132e523ba91f09dd (diff)
parent1a9629f1dd66ab9868a42bbe81544bb238524361 (diff)
downloadtk-0270e5275dc5e3cd164a7b9e2bfaa6fc38c59cef.zip
tk-0270e5275dc5e3cd164a7b9e2bfaa6fc38c59cef.tar.gz
tk-0270e5275dc5e3cd164a7b9e2bfaa6fc38c59cef.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 4dc184c..366fc61 100644
--- a/win/tkWinDraw.c
+++ b/win/tkWinDraw.c
@@ -744,7 +744,7 @@ RenderObject(
HPEN pen,
WinDrawFunc func)
{
- RECT rect;
+ RECT rect = {0, 0, 0, 0};
HPEN oldPen;
HBRUSH oldBrush;
POINT *winPoints = ConvertPoints(points, npoints, mode, &rect);