fixed warnings

svn path=/trunk/; revision=14535
This commit is contained in:
Thomas Bluemel 2005-04-07 13:11:46 +00:00
parent 98b6f6bd7b
commit b995b11c1d
2 changed files with 2 additions and 10 deletions

View file

@ -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);

View file

@ -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);