diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-06 07:10:54 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-06 07:10:54 +0000 |
commit | 1fab35ba1533163e6398df06b52f15a66a869fa6 (patch) | |
tree | 472f746cdbc0b2ced44b1a5cb947c50f6cf96c9f /ccan | |
parent | 2bfc88a45e7f1bf5d6a522471fa05ae1601eff93 (diff) | |
download | ruby-1fab35ba1533163e6398df06b52f15a66a869fa6.tar.gz |
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 <dev@codyps.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ccan')
-rw-r--r-- | ccan/list/list.h | 4 |
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 |