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:
@@ -1528,7 +1528,7 @@ AZ::EntityId EditorViewportWidget::GetCurrentViewEntityId()
|
||||
&AZ::RPI::ViewProviderBus::Events::GetView
|
||||
);
|
||||
|
||||
const bool isViewEntityCorrect = viewEntityView == GetCurrentAtomView();
|
||||
[[maybe_unused]] const bool isViewEntityCorrect = viewEntityView == GetCurrentAtomView();
|
||||
AZ_Error("EditorViewportWidget", isViewEntityCorrect,
|
||||
"GetCurrentViewEntityId called while the current view is being changed. "
|
||||
"You may get inconsistent results if you make use of the returned entity ID. "
|
||||
|
||||
Reference in New Issue
Block a user