diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 17:41:07 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 21:02:18 (GMT) |
commit | dc23fd546163edb7ff4395f44217b5cb2600004a (patch) | |
tree | 37f494c22bf86888424b195bc2e6ef9d68529b0e /tools/shared/windows | |
parent | b284975435f80eba7bf6d1edd21987dcee134e86 (diff) | |
download | Qt-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/shared/windows')
-rw-r--r-- | tools/shared/windows/registry.cpp | 3 |
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; |