summaryrefslogtreecommitdiff
path: root/src/burn/engine/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/core.cpp')
-rw-r--r--src/burn/engine/core.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/burn/engine/core.cpp b/src/burn/engine/core.cpp
index 94aaf204..3e45cdfc 100644
--- a/src/burn/engine/core.cpp
+++ b/src/burn/engine/core.cpp
@@ -1086,14 +1086,6 @@ extern "C" HRESULT CoreCreateCleanRoomCommandLine(
1086 ExitOnFailure(hr, "Failed to append /disablesystemrestore."); 1086 ExitOnFailure(hr, "Failed to append /disablesystemrestore.");
1087 } 1087 }
1088 1088
1089#ifdef ENABLE_UNELEVATE
1090 if (pInternalCommand->fDisableUnelevate)
1091 {
1092 hr = StrAllocConcatFormatted(psczCommandLine, L" /%ls", BURN_COMMANDLINE_SWITCH_DISABLE_UNELEVATE);
1093 ExitOnFailure(hr, "Failed to append switch: %ls.", BURN_COMMANDLINE_SWITCH_DISABLE_UNELEVATE);
1094 }
1095#endif
1096
1097 if (pInternalCommand->sczOriginalSource) 1089 if (pInternalCommand->sczOriginalSource)
1098 { 1090 {
1099 hr = StrAllocConcat(psczCommandLine, L" /originalsource", 0); 1091 hr = StrAllocConcat(psczCommandLine, L" /originalsource", 0);
@@ -1646,12 +1638,6 @@ extern "C" HRESULT CoreParseCommandLine(
1646 { 1638 {
1647 pCommand->fPassthrough = TRUE; 1639 pCommand->fPassthrough = TRUE;
1648 } 1640 }
1649 else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, &argv[i][1], -1, BURN_COMMANDLINE_SWITCH_DISABLE_UNELEVATE, -1))
1650 {
1651#ifdef ENABLE_UNELEVATE
1652 pInternalCommand->fDisableUnelevate = TRUE;
1653#endif
1654 }
1655 else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, &argv[i][1], -1, BURN_COMMANDLINE_SWITCH_RUNONCE, -1)) 1641 else if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, &argv[i][1], -1, BURN_COMMANDLINE_SWITCH_RUNONCE, -1))
1656 { 1642 {
1657 if (BURN_MODE_UNKNOWN != pInternalCommand->mode) 1643 if (BURN_MODE_UNKNOWN != pInternalCommand->mode)