From 006a9ce85f833b5c53b88a8e97d5d778e93abdb2 Mon Sep 17 00:00:00 2001 From: jonawals Date: Thu, 6 May 2021 16:33:40 +0100 Subject: [PATCH] Fix unused variable warning. --- .../Code/Tests/Process/TestImpactProcessSchedulerTest.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Process/TestImpactProcessSchedulerTest.cpp b/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Process/TestImpactProcessSchedulerTest.cpp index c64b05e431..2b32067688 100644 --- a/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Process/TestImpactProcessSchedulerTest.cpp +++ b/Code/Tools/TestImpactFramework/Runtime/Code/Tests/Process/TestImpactProcessSchedulerTest.cpp @@ -227,8 +227,6 @@ namespace UnitTest // Expects the process to have exited gracefully of its own accord (i.e. not terminated for any reason by the scheduler) void ProcessSchedulerTestFixtureWithParams::ExpectGracefulExit(TestImpact::ProcessId pid) { - const auto& [launchResult, exitStatus, createTime, exitTime, duration, returnCode, std] = m_processResults[pid]; - ExpectSuccessfulLaunch(pid); ExpectExitCondition(pid, TestImpact::ExitCondition::Gracefull); } @@ -236,8 +234,6 @@ namespace UnitTest // Expects the process to have been terminated by the client or scheduler void ProcessSchedulerTestFixtureWithParams::ExpectTerminatedProcess(TestImpact::ProcessId pid) { - const auto& [launchResult, exitStatus, createTime, exitTime, duration, returnCode, std] = m_processResults[pid]; - ExpectSuccessfulLaunch(pid); ExpectExitCondition(pid, TestImpact::ExitCondition::Terminated); } @@ -245,8 +241,6 @@ namespace UnitTest // Expects the process to have been terminated by the scheduler due to the process or scheduler timing out void ProcessSchedulerTestFixtureWithParams::ExpectTimeoutProcess(TestImpact::ProcessId pid) { - const auto& [launchResult, exitStatus, createTime, exitTime, duration, returnCode, std] = m_processResults[pid]; - ExpectSuccessfulLaunch(pid); ExpectExitCondition(pid, TestImpact::ExitCondition::Timeout); }