summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-11-26 17:41:07 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-11-26 21:02:18 (GMT)
commitdc23fd546163edb7ff4395f44217b5cb2600004a (patch)
tree37f494c22bf86888424b195bc2e6ef9d68529b0e /tools
parentb284975435f80eba7bf6d1edd21987dcee134e86 (diff)
downloadQt-dc23fd546163edb7ff4395f44217b5cb2600004a.zip
Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.tar.gz
Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.tar.bz2
Fix warnings related to unused variables.
Just add some Q_UNUSED for parameters or remove the variable we don't need for the others. Reviewed-by: Trust Me
Diffstat (limited to 'tools')
-rw-r--r--tools/shared/windows/registry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/shared/windows/registry.cpp b/tools/shared/windows/registry.cpp
index 48e9ae6..f520910 100644
--- a/tools/shared/windows/registry.cpp
+++ b/tools/shared/windows/registry.cpp
@@ -157,6 +157,9 @@ QString qt_readRegistryKey(HKEY parentHandle, const QString &rSubkey)
}
RegCloseKey(handle);
+#else
+ Q_UNUSED(parentHandle);
+ Q_UNUSED(rSubkey)
#endif
return result;