Fix for compiling in non-debug (release) mode. (Reduces binary size from 128k to 82k currently)

svn path=/trunk/; revision=3319
This commit is contained in:
Brian Palmer 2002-08-07 05:37:07 +00:00
parent 70d2e3812d
commit f5ac842ed4
2 changed files with 5 additions and 3 deletions

View file

@ -55,7 +55,9 @@ BOOL MmInitializeMemoryManager(VOID)
U32 BiosMemoryMapEntryCount;
U32 ExtendedMemorySize;
U32 ConventionalMemorySize;
#ifdef DEBUG
U32 Index;
#endif
DbgPrint((DPRINT_MEMORY, "Initializing Memory Manager.\n"));

View file

@ -520,7 +520,7 @@ LoadAndBootReactOS(PUCHAR OperatingSystemName)
szBootPath[strlen(szBootPath)] != '\\')
strcat(szBootPath, "\\");
DebugPrint(DPRINT_REACTOS,"SystemRoot: '%s'\n", szBootPath);
DbgPrint((DPRINT_REACTOS,"SystemRoot: '%s'\n", szBootPath));
UiDrawBackdrop();
UiDrawStatusText("Loading...");
@ -625,7 +625,7 @@ LoadAndBootReactOS(PUCHAR OperatingSystemName)
strcat(szFileName, value);
}
DebugPrint(DPRINT_REACTOS, "SystemHive: '%s'", szFileName);
DbgPrint((DPRINT_REACTOS, "SystemHive: '%s'", szFileName));
FilePointer = OpenFile(szFileName);
if (FilePointer == NULL)
@ -652,7 +652,7 @@ LoadAndBootReactOS(PUCHAR OperatingSystemName)
RegImportHive(Base, Size);
UiDrawProgressBarCenter(15, 100);
DebugPrint(DPRINT_REACTOS, "SystemHive loaded at 0x%x size %u", (unsigned)Base, (unsigned)Size);
DbgPrint((DPRINT_REACTOS, "SystemHive loaded at 0x%x size %u", (unsigned)Base, (unsigned)Size));
/*
* Retrieve hardware information and create the hardware hive