eliminate 'using uninitialized variable' warning
Modified: trunk/reactos/ntoskrnl/mm/elf.c
--- trunk/reactos/ntoskrnl/mm/elf.c 2005-01-01 11:33:31 UTC (rev 12692) +++ trunk/reactos/ntoskrnl/mm/elf.c 2005-01-01 11:42:12 UTC (rev 12693) @@ -1,4 +1,4 @@
-/* $Id: elf.c,v 1.3 2004/12/30 08:13:00 hyperion Exp $
+/* $Id$
*/ #include <ntoskrnl.h> @@ -365,7 +365,7 @@
Elf_Off cbPHdrOffset; PVOID pBuffer; PMM_SECTION_SEGMENT pssSegments;
- Elf_Addr nImageBase;
+ Elf_Addr nImageBase = 0;
Elf_Addr nEntryPoint; ULONG nPrevVirtualEndOfSegment; ULONG i;