mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
initialize variable
svn path=/trunk/; revision=4503
This commit is contained in:
parent
5ccf66a359
commit
6756a59755
2 changed files with 7 additions and 6 deletions
|
@ -400,7 +400,7 @@ GspHex2Mem (PCHAR Buffer,
|
||||||
ULONG countinpage;
|
ULONG countinpage;
|
||||||
ULONG i;
|
ULONG i;
|
||||||
CHAR ch;
|
CHAR ch;
|
||||||
ULONG oldprot;
|
ULONG oldprot = 0;
|
||||||
|
|
||||||
current = Address;
|
current = Address;
|
||||||
while ( current < Address + Count )
|
while ( current < Address + Count )
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: exception.c,v 1.4 2002/11/14 18:21:07 chorns Exp $
|
/* $Id: exception.c,v 1.5 2003/04/05 22:20:49 guido Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -321,11 +321,12 @@ RtlUnwind(PEXCEPTION_REGISTRATION RegistrationFrame,
|
||||||
|
|
||||||
DPRINT("ERHead is 0x%X\n", ERHead);
|
DPRINT("ERHead is 0x%X\n", ERHead);
|
||||||
|
|
||||||
|
pExceptRec = &TempER;
|
||||||
|
|
||||||
if (ExceptionRecord == NULL) // The normal case
|
if (ExceptionRecord == NULL) // The normal case
|
||||||
{
|
{
|
||||||
DPRINT("ExceptionRecord == NULL (normal)\n");
|
DPRINT("ExceptionRecord == NULL (normal)\n");
|
||||||
|
|
||||||
pExceptRec = &TempER;
|
|
||||||
pExceptRec->ExceptionFlags = 0;
|
pExceptRec->ExceptionFlags = 0;
|
||||||
pExceptRec->ExceptionCode = STATUS_UNWIND;
|
pExceptRec->ExceptionCode = STATUS_UNWIND;
|
||||||
pExceptRec->ExceptionRecord = NULL;
|
pExceptRec->ExceptionRecord = NULL;
|
||||||
|
@ -342,11 +343,11 @@ RtlUnwind(PEXCEPTION_REGISTRATION RegistrationFrame,
|
||||||
DPRINT("ExceptionFlags == 0x%x:\n", pExceptRec->ExceptionFlags);
|
DPRINT("ExceptionFlags == 0x%x:\n", pExceptRec->ExceptionFlags);
|
||||||
if (pExceptRec->ExceptionFlags & EXCEPTION_UNWINDING)
|
if (pExceptRec->ExceptionFlags & EXCEPTION_UNWINDING)
|
||||||
{
|
{
|
||||||
DPRINT(" * EXCEPTION_UNWINDING (0x%x)\n", EXCEPTION_UNWINDING);
|
DPRINT(" * EXCEPTION_UNWINDING (0x%x)\n", EXCEPTION_UNWINDING);
|
||||||
}
|
}
|
||||||
if (pExceptRec->ExceptionFlags & EXCEPTION_EXIT_UNWIND)
|
if (pExceptRec->ExceptionFlags & EXCEPTION_EXIT_UNWIND)
|
||||||
{
|
{
|
||||||
DPRINT(" * EXCEPTION_EXIT_UNWIND (0x%x)\n", EXCEPTION_EXIT_UNWIND);
|
DPRINT(" * EXCEPTION_EXIT_UNWIND (0x%x)\n", EXCEPTION_EXIT_UNWIND);
|
||||||
}
|
}
|
||||||
#endif /* NDEBUG */
|
#endif /* NDEBUG */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue