Party revert r55722: "[CSRSRV]: Some misc cleanup of dead code. No functional change.", which caused MSVC builds to hang on 2nd stage

svn path=/trunk/; revision=55943
This commit is contained in:
Timo Kreuzer 2012-03-01 14:17:23 +00:00
parent d431e272f8
commit f8a832a4ea

View file

@ -41,7 +41,7 @@ _main(int argc,
{ {
KPRIORITY BasePriority = (8 + 1) + 4; KPRIORITY BasePriority = (8 + 1) + 4;
NTSTATUS Status; NTSTATUS Status;
ULONG Response; //ULONG Response;
UNREFERENCED_PARAMETER(envp); UNREFERENCED_PARAMETER(envp);
UNREFERENCED_PARAMETER(DebugFlag); UNREFERENCED_PARAMETER(DebugFlag);
@ -60,12 +60,14 @@ _main(int argc,
{ {
/* Raise a hard error */ /* Raise a hard error */
DPRINT1("CSRSS: Could not raise IOPL: %x\n", Status); DPRINT1("CSRSS: Could not raise IOPL: %x\n", Status);
#if 0
Status = NtRaiseHardError(STATUS_IO_PRIVILEGE_FAILED, Status = NtRaiseHardError(STATUS_IO_PRIVILEGE_FAILED,
0, 0,
0, 0,
NULL, NULL,
OptionOk, OptionOk,
&Response); &Response);
#endif
} }
/* Initialize CSR through CSRSRV */ /* Initialize CSR through CSRSRV */