Avoid unused variable warning

This commit is contained in:
David Capello 2016-11-24 17:52:54 -03:00
parent cb81ec053a
commit 33d6ffb73b

View File

@ -383,9 +383,9 @@ bool CustomizedGuiManager::onProcessMessage(Message* msg)
break; break;
case kKeyDownMessage: { case kKeyDownMessage: {
#ifdef _DEBUG
auto keymsg = static_cast<KeyMessage*>(msg); auto keymsg = static_cast<KeyMessage*>(msg);
#ifdef _DEBUG
// Ctrl+Shift+Q generates a crash (useful to test the anticrash feature) // Ctrl+Shift+Q generates a crash (useful to test the anticrash feature)
if (msg->ctrlPressed() && if (msg->ctrlPressed() &&
msg->shiftPressed() && msg->shiftPressed() &&