diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-15 16:05:01 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-16 11:18:04 (GMT) |
commit | 1d45cf765ab467e6a0f9302eaf65b18419858aac (patch) | |
tree | 9da093eccc643f3d903eeb5d7a9a499d0a835b7d /src/gui | |
parent | b49a69f58346bcdf395840d5345ea32a144bfb50 (diff) | |
download | Qt-1d45cf765ab467e6a0f9302eaf65b18419858aac.zip Qt-1d45cf765ab467e6a0f9302eaf65b18419858aac.tar.gz Qt-1d45cf765ab467e6a0f9302eaf65b18419858aac.tar.bz2 |
Fix warnings for mingw
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/dialogs/qpagesetupdialog_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogs/qpagesetupdialog_win.cpp b/src/gui/dialogs/qpagesetupdialog_win.cpp index a84a7ce..3f2fb34 100644 --- a/src/gui/dialogs/qpagesetupdialog_win.cpp +++ b/src/gui/dialogs/qpagesetupdialog_win.cpp @@ -78,8 +78,8 @@ int QPageSetupDialog::exec() psd.lStructSize = sizeof(PAGESETUPDLG); // we need a temp DEVMODE struct if we don't have a global DEVMODE - HGLOBAL hDevMode; - int devModeSize; + HGLOBAL hDevMode = 0; + int devModeSize = 0; if (!ep->globalDevMode) { devModeSize = sizeof(DEVMODE) + ep->devMode->dmDriverExtra; hDevMode = GlobalAlloc(GHND, devModeSize); |