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:
@@ -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;
|
||||
|
||||
@@ -17,8 +17,6 @@ namespace AZ
|
||||
{
|
||||
namespace Metal
|
||||
{
|
||||
static const int INVALID_OFFSET = 0xFFFFFFFF;
|
||||
|
||||
namespace Platform
|
||||
{
|
||||
MTLPixelFormat ConvertPixelFormat(RHI::Format format);
|
||||
|
||||
Reference in New Issue
Block a user