forked from qt-creator/qt-creator
Using Q_UNUSED to avoid warnings from MinGW
This commit is contained in:
@@ -79,6 +79,8 @@ RegisterPostMortemAction::RegisterPostMortemAction(QObject *parent) : Utils::Sav
|
|||||||
|
|
||||||
void RegisterPostMortemAction::readSettings(const QSettings *)
|
void RegisterPostMortemAction::readSettings(const QSettings *)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(debuggerRegistryValueNameC); // avoid warning from MinGW
|
||||||
|
|
||||||
bool registered = false;
|
bool registered = false;
|
||||||
HKEY handle = 0;
|
HKEY handle = 0;
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
|
|||||||
@@ -104,6 +104,7 @@ bool openRegistryKey(HKEY category, // HKEY_LOCAL_MACHINE, etc.
|
|||||||
HKEY *keyHandle,
|
HKEY *keyHandle,
|
||||||
QString *errorMessage)
|
QString *errorMessage)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(debuggerRegistryKeyC); // avoid warning from MinGW
|
||||||
|
|
||||||
REGSAM accessRights = KEY_READ;
|
REGSAM accessRights = KEY_READ;
|
||||||
if (readWrite)
|
if (readWrite)
|
||||||
|
|||||||
Reference in New Issue
Block a user