Fixed warning about unused local variable

Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
This commit is contained in:
Sergey Pereslavtsev
2021-10-19 18:42:35 +01:00
parent faea65e840
commit e3a14c0809
@@ -65,7 +65,7 @@ namespace MultiplayerTest
void TestMultiplayerComponentController::ProcessInput(Multiplayer::NetworkInput& input, [[maybe_unused]] float deltaTime)
{
auto& component = GetParent();
auto* networkInput = input.FindComponentInput<TestMultiplayerComponentNetworkInput>();
[[maybe_unused]] auto* networkInput = input.FindComponentInput<TestMultiplayerComponentNetworkInput>();
AZ_Assert(networkInput->m_ownerId == component.GetId(), "Input Id doesn't match the owner component Id");
if (component.m_processInputCallback)