Author: hpoussin
Date: Mon Oct 23 01:22:46 2006
New Revision: 24616
URL:
http://svn.reactos.org/svn/reactos?rev=24616&view=rev
Log:
Fix compilation in release mode
Modified:
trunk/reactos/ntoskrnl/dbgk/debug.c
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/dbgk/debug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/dbgk/debug.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/dbgk/debug.c (original)
+++ trunk/reactos/ntoskrnl/dbgk/debug.c Mon Oct 23 01:22:46 2006
@@ -876,11 +876,10 @@
NTAPI
DbgkpDeleteObject(IN PVOID Object)
{
- PDEBUG_OBJECT DebugObject = Object;
PAGED_CODE();
/* Sanity check */
- ASSERT(IsListEmpty(&DebugObject->EventList));
+ ASSERT(IsListEmpty(&((PDEBUG_OBJECT)DebugObject)->EventList));
}
VOID
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c Mon Oct 23 01:22:46 2006
@@ -924,7 +924,9 @@
{
PLIST_ENTRY ListHead, NextEntry;
PLDR_DATA_TABLE_ENTRY LdrEntry;
+#ifdef DBG
UNICODE_STRING NtosSymName = RTL_CONSTANT_STRING(L"ntoskrnl.sym");
+#endif
PDEVICE_NODE DeviceNode;
PDRIVER_OBJECT DriverObject;
LDR_DATA_TABLE_ENTRY ModuleObject;