summaryrefslogtreecommitdiff
path: root/ccan
diff options
context:
space:
mode:
Diffstat (limited to 'ccan')
-rw-r--r--ccan/list/list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccan/list/list.h b/ccan/list/list.h
index 66ec94d2f6..ca9f9f1f7f 100644
--- a/ccan/list/list.h
+++ b/ccan/list/list.h
@@ -42,8 +42,8 @@ struct list_head
};
#define LIST_LOC __FILE__ ":" stringify(__LINE__)
-#define list_debug(h, loc) (h)
-#define list_debug_node(n, loc) (n)
+#define list_debug(h, loc) ((void)loc, h)
+#define list_debug_node(n, loc) ((void)loc, n)
/**
* LIST_HEAD_INIT - initializer for an empty list_head