Fixed unused variable warnings (#3880)

- Fixed error in iOS profile non-unity build error: unused variable 'INVALID_OFFSET'. The global variable is static const only visible to the cpp, removed since it's not used.
- Fixed error in windows release 'timeoutSeconds': unreferenced formal parameter

Signed-off-by: moraaar <moraaar@amazon.com>
This commit is contained in:
moraaar
2021-09-02 13:15:14 +01:00
committed by GitHub
parent 95f3477831
commit 34dc8e3cbc
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ namespace AZ
}
bool
Trace::WaitForDebugger(float timeoutSeconds/*=-1.f*/)
Trace::WaitForDebugger([[maybe_unused]] float timeoutSeconds/*=-1.f*/)
{
#if defined(AZ_ENABLE_DEBUG_TOOLS)
using AZStd::chrono::system_clock;