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:
+1
-1
@@ -175,7 +175,7 @@ namespace AzFramework
|
||||
m_packedSensorDataArray = new float[packedSensorDataLength];
|
||||
|
||||
// create the java instance
|
||||
bool ret = m_motionSensorManager->CreateInstance("(Landroid/app/Activity;)V", AZ::Android::Utils::GetActivityRef());
|
||||
[[maybe_unused]] bool ret = m_motionSensorManager->CreateInstance("(Landroid/app/Activity;)V", AZ::Android::Utils::GetActivityRef());
|
||||
AZ_Assert(ret, "Failed to create the MotionSensorManager Java instance.");
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ namespace AzFramework
|
||||
});
|
||||
|
||||
// create the java instance
|
||||
bool ret = m_keyboardHandler->CreateInstance("(Landroid/app/Activity;)V", AZ::Android::Utils::GetActivityRef());
|
||||
[[maybe_unused]] bool ret = m_keyboardHandler->CreateInstance("(Landroid/app/Activity;)V", AZ::Android::Utils::GetActivityRef());
|
||||
AZ_Assert(ret, "Failed to create the KeyboardHandler Java instance.");
|
||||
|
||||
// Connect to the raw input notifications bus
|
||||
|
||||
Reference in New Issue
Block a user