svn commit: r210569 - head/sys/dev/e1000

Matthew D Fleming mdf at FreeBSD.org
Wed Jul 28 16:24:06 UTC 2010


Author: mdf
Date: Wed Jul 28 16:24:06 2010
New Revision: 210569
URL: http://svn.freebsd.org/changeset/base/210569

Log:
  Fix clang warning on empty statement.
  
  Reviewed by:    rdivacky, zml
  Approved by:    zml (mentor)

Modified:
  head/sys/dev/e1000/e1000_osdep.h

Modified: head/sys/dev/e1000/e1000_osdep.h
==============================================================================
--- head/sys/dev/e1000/e1000_osdep.h	Wed Jul 28 16:11:22 2010	(r210568)
+++ head/sys/dev/e1000/e1000_osdep.h	Wed Jul 28 16:24:06 2010	(r210569)
@@ -65,11 +65,11 @@
 
 #define MSGOUT(S, A, B)     printf(S "\n", A, B)
 #define DEBUGFUNC(F)        DEBUGOUT(F);
-	#define DEBUGOUT(S)
-	#define DEBUGOUT1(S,A)
-	#define DEBUGOUT2(S,A,B)
-	#define DEBUGOUT3(S,A,B,C)
-	#define DEBUGOUT7(S,A,B,C,D,E,F,G)
+#define DEBUGOUT(S)			do {} while (0)
+#define DEBUGOUT1(S,A)			do {} while (0)
+#define DEBUGOUT2(S,A,B)		do {} while (0)
+#define DEBUGOUT3(S,A,B,C)		do {} while (0)
+#define DEBUGOUT7(S,A,B,C,D,E,F,G)	do {} while (0)
 
 #define STATIC			static
 #define FALSE			0


More information about the svn-src-all mailing list