Fix some clang warnings.
[darkstat] / cap.c
diff --git a/cap.c b/cap.c
index 7e1c41b..51f861b 100644 (file)
--- a/cap.c
+++ b/cap.c
@@ -425,8 +425,9 @@ void cap_poll(fd_set *read_set _unused_on_linux_) {
                     2 * CAP_TIMEOUT_MSEC * 1000000,
                     "pcap_dispatch took too long");
 
-         if (0) /* debugging */
-            verbosef("iface '%s' got %d pkts", iface->name, ret);
+#if 0 /* debugging */
+         verbosef("iface '%s' got %d pkts", iface->name, ret);
+#endif
 
 #ifdef linux
          /* keep looping until we've dispatched all the outstanding packets */