Using Q_UNUSED to avoid warnings from MinGW

This commit is contained in:
Robert Loehning
2010-04-30 13:32:39 +02:00
parent a813396b3e
commit ac517807ea
2 changed files with 3 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ bool openRegistryKey(HKEY category, // HKEY_LOCAL_MACHINE, etc.
HKEY *keyHandle,
QString *errorMessage)
{
Q_UNUSED(debuggerRegistryKeyC); // avoid warning from MinGW
REGSAM accessRights = KEY_READ;
if (readWrite)