Commit in reactos/drivers/net/afd on MAIN
afd/lock.c+3-11.4 -> 1.5
   /main.c+3-11.8 -> 1.9
include/debug.h+21.7 -> 1.8
+8-2
3 modified files
Small DBG related patches.

reactos/drivers/net/afd/afd
lock.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- lock.c	12 Nov 2004 07:34:56 -0000	1.4
+++ lock.c	12 Nov 2004 09:27:02 -0000	1.5
@@ -1,4 +1,4 @@
-/* $Id: lock.c,v 1.4 2004/11/12 07:34:56 arty Exp $
+/* $Id: lock.c,v 1.5 2004/11/12 09:27:02 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/lock.c
@@ -148,7 +148,9 @@
 }
 
 VOID SocketStateUnlock( PAFD_FCB FCB ) {
+#ifdef DBG
     PVOID CurrentThread = KeGetCurrentThread();
+#endif
     ASSERT(FCB->LockCount > 0);
     ASSERT(KeGetCurrentIrql() == PASSIVE_LEVEL);
 

reactos/drivers/net/afd/afd
main.c 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- main.c	12 Nov 2004 07:34:56 -0000	1.8
+++ main.c	12 Nov 2004 09:27:02 -0000	1.9
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.8 2004/11/12 07:34:56 arty Exp $
+/* $Id: main.c,v 1.9 2004/11/12 09:27:02 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/main.c
@@ -228,7 +228,9 @@
 {
     PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp);
     NTSTATUS Status = STATUS_SUCCESS;
+#ifdef DBG
     PFILE_OBJECT FileObject = IrpSp->FileObject;
+#endif
 
     AFD_DbgPrint(MID_TRACE,("AfdDispatch: %d\n", IrpSp->MajorFunction));
     if( IrpSp->MajorFunction != IRP_MJ_CREATE) {

reactos/drivers/net/afd/include
debug.h 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- debug.h	20 Aug 2004 16:26:10 -0000	1.7
+++ debug.h	12 Nov 2004 09:27:02 -0000	1.8
@@ -61,7 +61,9 @@
 
 #define ASSERT_IRQL(x)
 #define ASSERTKM(x)
+#ifndef ASSERT
 #define ASSERT(x)
+#endif
 
 #endif /* DBG */
 
CVSspam 0.2.8