fixed some warnings when compiling with -O3
[reactos.git] / reactos / ntoskrnl / mm / region.c
index 5ee161a..03427db 100644 (file)
@@ -110,7 +110,7 @@ MmAlterRegion(PMADDRESS_SPACE AddressSpace, PVOID BaseAddress,
               ULONG NewType, ULONG NewProtect, PMM_ALTER_REGION_FUNC AlterFunc)
 {
    PMM_REGION InitialRegion;
-   PVOID InitialBaseAddress;
+   PVOID InitialBaseAddress = NULL;
    PMM_REGION NewRegion;
    PLIST_ENTRY CurrentEntry;
    PMM_REGION CurrentRegion = NULL;