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:
@@ -146,7 +146,7 @@ namespace Maestro
|
||||
AZ::EntityId sequenceEntityId = busIdToDisconnect->first;
|
||||
|
||||
// we only process DisconnectSequence events sent over an ID'ed bus - otherwise we don't know which SequenceComponent to disconnect
|
||||
auto findIter = m_sequenceEntityIds.find(sequenceEntityId);
|
||||
[[maybe_unused]] auto findIter = m_sequenceEntityIds.find(sequenceEntityId);
|
||||
AZ_Assert(findIter != m_sequenceEntityIds.end(), "A sequence not connected to SequenceAgentComponent on %s is requesting a disconnection", GetEntity()->GetName().c_str());
|
||||
|
||||
m_sequenceEntityIds.erase(sequenceEntityId);
|
||||
|
||||
Reference in New Issue
Block a user