From 1fab35ba1533163e6398df06b52f15a66a869fa6 Mon Sep 17 00:00:00 2001 From: normal Date: Sun, 6 Sep 2015 07:10:54 +0000 Subject: [PATCH] ccan/list/list.h: suppress unused argument warnings ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b ("list: suppress unused argument warnings") by Cody P Shafer. Signed-off-by: Cody P Schafer Signed-off-by: Rusty Russell git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ccan/list/list.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a1c40d5646..f1b24cf6db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Sep 6 16:07:22 2015 Eric Wong + + * ccan/list/list.h: suppress unused argument warnings + [ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b] + Sat Sep 5 11:39:52 2015 Nobuyoshi Nakada * lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction 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