initialize variable

svn path=/trunk/; revision=4503
This commit is contained in:
guido 2003-04-05 22:21:33 +00:00
parent 5ccf66a359
commit 6756a59755
2 changed files with 7 additions and 6 deletions

View file

@ -400,7 +400,7 @@ GspHex2Mem (PCHAR Buffer,
ULONG countinpage;
ULONG i;
CHAR ch;
ULONG oldprot;
ULONG oldprot = 0;
current = Address;
while ( current < Address + Count )

View file

@ -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
* PROJECT: ReactOS kernel
@ -321,11 +321,12 @@ RtlUnwind(PEXCEPTION_REGISTRATION RegistrationFrame,
DPRINT("ERHead is 0x%X\n", ERHead);
pExceptRec = &TempER;
if (ExceptionRecord == NULL) // The normal case
{
DPRINT("ExceptionRecord == NULL (normal)\n");
pExceptRec = &TempER;
pExceptRec->ExceptionFlags = 0;
pExceptRec->ExceptionCode = STATUS_UNWIND;
pExceptRec->ExceptionRecord = NULL;