From 31312606b198bf02c52617b0d74056bb4960d6aa Mon Sep 17 00:00:00 2001 From: jonawals Date: Thu, 6 May 2021 16:50:52 +0100 Subject: [PATCH] Fix unused variable warning. --- .../Runtime/Code/Tests/Target/TestImpactBuildTargetTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Target/TestImpactBuildTargetTest.cpp b/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Target/TestImpactBuildTargetTest.cpp index e416d3836e..e7ebec17d1 100644 --- a/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Target/TestImpactBuildTargetTest.cpp +++ b/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Target/TestImpactBuildTargetTest.cpp @@ -332,7 +332,7 @@ namespace UnitTest try { // When attempting to find a target that does not exist - auto target = targetList.GetTargetOrThrow(GenerateBuildTargetName(i + targetList.GetNumTargets())); + targetList.GetTargetOrThrow(GenerateBuildTargetName(i + targetList.GetNumTargets())); // Do not expect the target list construction to succeed FAIL();