mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
fixed warnings
svn path=/trunk/; revision=14535
This commit is contained in:
parent
98b6f6bd7b
commit
b995b11c1d
2 changed files with 2 additions and 10 deletions
|
@ -283,7 +283,7 @@ _except_handler(EXCEPTION_RECORD *ExceptionRecord,
|
||||||
void * DispatcherContext)
|
void * DispatcherContext)
|
||||||
{
|
{
|
||||||
EXCEPTION_POINTERS ExceptionInfo;
|
EXCEPTION_POINTERS ExceptionInfo;
|
||||||
EXCEPTION_DISPOSITION ExceptionDisposition;
|
EXCEPTION_DISPOSITION ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
|
||||||
|
|
||||||
ExceptionInfo.ExceptionRecord = ExceptionRecord;
|
ExceptionInfo.ExceptionRecord = ExceptionRecord;
|
||||||
ExceptionInfo.ContextRecord = ContextRecord;
|
ExceptionInfo.ContextRecord = ContextRecord;
|
||||||
|
@ -300,10 +300,6 @@ _except_handler(EXCEPTION_RECORD *ExceptionRecord,
|
||||||
}
|
}
|
||||||
_SEH_END;
|
_SEH_END;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER)
|
if (ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER)
|
||||||
ExitProcess(ExceptionRecord->ExceptionCode);
|
ExitProcess(ExceptionRecord->ExceptionCode);
|
||||||
|
|
|
@ -29,7 +29,7 @@ _except_handler(EXCEPTION_RECORD *ExceptionRecord,
|
||||||
void * DispatcherContext)
|
void * DispatcherContext)
|
||||||
{
|
{
|
||||||
EXCEPTION_POINTERS ExceptionInfo;
|
EXCEPTION_POINTERS ExceptionInfo;
|
||||||
EXCEPTION_DISPOSITION ExceptionDisposition;
|
EXCEPTION_DISPOSITION ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
|
||||||
|
|
||||||
ExceptionInfo.ExceptionRecord = ExceptionRecord;
|
ExceptionInfo.ExceptionRecord = ExceptionRecord;
|
||||||
ExceptionInfo.ContextRecord = ContextRecord;
|
ExceptionInfo.ContextRecord = ContextRecord;
|
||||||
|
@ -46,10 +46,6 @@ _except_handler(EXCEPTION_RECORD *ExceptionRecord,
|
||||||
}
|
}
|
||||||
_SEH_END;
|
_SEH_END;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
ExceptionDisposition = EXCEPTION_EXECUTE_HANDLER;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER)
|
if (ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER)
|
||||||
ExitThread(ExceptionRecord->ExceptionCode);
|
ExitThread(ExceptionRecord->ExceptionCode);
|
||||||
|
|
Loading…
Reference in a new issue