Fix warning when compiled with DBG=0
authorAleksey Bragin <aleksey@reactos.org>
Mon, 20 Nov 2006 13:07:57 +0000 (13:07 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Mon, 20 Nov 2006 13:07:57 +0000 (13:07 +0000)
svn path=/trunk/; revision=24795

reactos/ntoskrnl/ex/init.c

index 34d6c44..b3fb23d 100644 (file)
@@ -932,7 +932,9 @@ ExPhase2Init(PVOID Context)
 
     /* Unmap Low memory, and initialize the MPW and Balancer Thread */
     MmInit3();
+#if DBG
     extern ULONG Guard;
+#endif
     ASSERT(Guard == 0xCACA1234);
 
     /* Initialize VDM support */