Print this page
10886 smatch debug macro cleanup in usr/src/uts

@@ -2,10 +2,14 @@
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*
+ * Copyright 2019 Joyent, Inc.
+ */
+
+/*
  * Copyright (c) 2006 Sam Leffler, Errno Consulting
  * Copyright (c) 2008-2009 Weongyo Jeong <weongyo@freebsd.org>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

@@ -92,11 +96,11 @@
 
 #ifdef DEBUG
 #define UATH_DEBUG \
         uath_debug
 #else
-#define UATH_DEBUG
+#define UATH_DEBUG(...) (void)(0)
 #endif
 
 /*
  * Various supported device vendors/products.
  * UB51: AR5005UG 802.11b/g, UB52: AR5005UX 802.11b/g