From 91077b0dcdfac07fe55cf8d65e9f35eea0819165 Mon Sep 17 00:00:00 2001 From: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> Date: Mon, 23 Aug 2021 18:06:27 -0700 Subject: [PATCH] small fix from previous commit Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> --- Gems/Atom/RHI/Metal/Code/Source/RHI/QueryPool.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Gems/Atom/RHI/Metal/Code/Source/RHI/QueryPool.cpp b/Gems/Atom/RHI/Metal/Code/Source/RHI/QueryPool.cpp index 1f85d92692..629aeb24f1 100644 --- a/Gems/Atom/RHI/Metal/Code/Source/RHI/QueryPool.cpp +++ b/Gems/Atom/RHI/Metal/Code/Source/RHI/QueryPool.cpp @@ -46,7 +46,6 @@ namespace AZ #if AZ_TRAIT_ATOM_METAL_COUNTER_SAMPLING case RHI::QueryType::Timestamp: { - NSError* error = nil; NSUInteger timeStampCounterIndex = [counterSets indexOfObjectPassingTest:^BOOL(id mtlCounterSet, NSUInteger idx, BOOL *stop) { if ([mtlCounterSet.name isEqualToString:MTLCommonCounterSetTimestamp])