Fix unused warnings release (#3677)
* Release build fix for Windows * Release build fix for Android * Release build fix for Windows * Release build fix for Android * Release build fix for Linux * Release build fix for Mac * Release build fix for iOS Signed-off-by: Steve Pham <spham@amazon.com>
This commit is contained in:
@@ -326,6 +326,7 @@ ActionManager::MenuWrapper ActionManager::FindMenu(const QString& menuId)
|
||||
return *menuIt;
|
||||
}
|
||||
|
||||
AZ_UNUSED(menuId); // Prevent unused warning in release builds
|
||||
AZ_Warning("ActionManager", false, "Did not find menu with menuId %s", menuId.toUtf8().data());
|
||||
return nullptr;
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user