From f7ac7fe6cc4d7f24c893a81f3e6823b0bba0781b Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 19 May 2021 11:42:22 -0500 Subject: Make IgnoreRollbackError set HRESULT to S_OK. --- src/burn/engine/apply.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/burn/engine/apply.cpp b/src/burn/engine/apply.cpp index c32f4c84..a99a3987 100644 --- a/src/burn/engine/apply.cpp +++ b/src/burn/engine/apply.cpp @@ -4,9 +4,9 @@ #ifdef DEBUG - #define IgnoreRollbackError(x, f, ...) if (FAILED(x)) { TraceError(x, f, __VA_ARGS__); } + #define IgnoreRollbackError(x, f, ...) if (FAILED(x)) { TraceError(x, f, __VA_ARGS__); }; x = S_OK #else - #define IgnoreRollbackError(x, f, ...) + #define IgnoreRollbackError(x, f, ...) x = S_OK #endif const DWORD BURN_CACHE_MAX_RECOMMENDED_VERIFY_TRYAGAIN_ATTEMPTS = 2; -- cgit v1.2.3-55-g6feb