Fix gcc warnings about unused variables.

These appear when compiling in release mode.

Change-Id: I76ee3b1b8d728fd839d713ee4f914b6965851b99
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Christian Kandeler
2013-03-21 12:01:58 +01:00
parent f5aa5f3dae
commit f4a0cbf6c0
8 changed files with 19 additions and 11 deletions

View File

@@ -81,7 +81,7 @@ public:
if (!version || version->type() != QLatin1String(QtSupport::Constants::DESKTOPQT))
return false;
bool hasViewer;
bool hasViewer = false; // Initialization needed for dumb compilers.
QtSupport::QtVersionNumber minVersion;
switch (import) {
case QmlProject::UnknownImport: