aboutsummaryrefslogtreecommitdiff
path: root/src/burn
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn')
-rw-r--r--src/burn/engine/variable.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/burn/engine/variable.cpp b/src/burn/engine/variable.cpp
index e81704ce..04d64f18 100644
--- a/src/burn/engine/variable.cpp
+++ b/src/burn/engine/variable.cpp
@@ -1845,8 +1845,11 @@ static HRESULT InitializeVariableNativeMachine(
1845 hr = ProcNativeMachine(::GetCurrentProcess(), &usNativeMachine); 1845 hr = ProcNativeMachine(::GetCurrentProcess(), &usNativeMachine);
1846 ExitOnFailure(hr, "Failed to get native machine value."); 1846 ExitOnFailure(hr, "Failed to get native machine value.");
1847 1847
1848 hr = BVariantSetNumeric(pValue, usNativeMachine); 1848 if (hr != S_FALSE)
1849 ExitOnFailure(hr, "Failed to set variant value."); 1849 {
1850 hr = BVariantSetNumeric(pValue, usNativeMachine);
1851 ExitOnFailure(hr, "Failed to set variant value.");
1852 }
1850 1853
1851LExit: 1854LExit:
1852 return hr; 1855 return hr;