From ce8acddf52bde840571535c3dfd56a2371d80684 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 3 Aug 2021 15:41:34 -0500 Subject: Add BURN_DEPENDENCIES struct to store Dependency state. --- src/burn/test/BurnUnitTest/PlanTest.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/burn/test/BurnUnitTest/PlanTest.cpp') diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp index 2e3b1092..c7f2037d 100644 --- a/src/burn/test/BurnUnitTest/PlanTest.cpp +++ b/src/burn/test/BurnUnitTest/PlanTest.cpp @@ -959,15 +959,9 @@ namespace Bootstrapper void PlanTestDetect(BURN_ENGINE_STATE* pEngineState) { - HRESULT hr = S_OK; - BURN_REGISTRATION* pRegistration = &pEngineState->registration; - - DetectReset(pRegistration, &pEngineState->packages); + DetectReset(&pEngineState->registration, &pEngineState->packages); PlanReset(&pEngineState->plan, &pEngineState->containers, &pEngineState->packages, &pEngineState->layoutPayloads); - hr = DepDependencyArrayAlloc(&pRegistration->rgIgnoredDependencies, &pRegistration->cIgnoredDependencies, pRegistration->sczProviderKey, NULL); - NativeAssert::Succeeded(hr, "Failed to add the bundle provider key to the list of dependencies to ignore."); - pEngineState->userExperience.fEngineActive = TRUE; pEngineState->fDetected = TRUE; } -- cgit v1.2.3-55-g6feb