summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qregion_win.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 15:31:06 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-15 15:31:33 (GMT)
commit31bed31d6d058a17d74de05a1653256decdfc735 (patch)
treea86dc5062f3c7ea5fba2273b8db20c5490025522 /src/gui/painting/qregion_win.cpp
parente68aa748a35725e3a6028ebc75a8447eff0912cb (diff)
downloadQt-31bed31d6d058a17d74de05a1653256decdfc735.zip
Qt-31bed31d6d058a17d74de05a1653256decdfc735.tar.gz
Qt-31bed31d6d058a17d74de05a1653256decdfc735.tar.bz2
fix warnings with mingw
Diffstat (limited to 'src/gui/painting/qregion_win.cpp')
-rw-r--r--src/gui/painting/qregion_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qregion_win.cpp b/src/gui/painting/qregion_win.cpp
index 873439e..249b1a6 100644
--- a/src/gui/painting/qregion_win.cpp
+++ b/src/gui/painting/qregion_win.cpp
@@ -59,7 +59,7 @@ HRGN qt_tryCreateRegion(QRegion::RegionType type, int left, int top, int right,
{
const int tries = 10;
for (int i = 0; i < tries; ++i) {
- HRGN region;
+ HRGN region = 0;
switch (type) {
case QRegion::Rectangle:
region = CreateRectRgn(left, top, right, bottom);