ruby-changes:39695
From: normal <ko1@a...>
Date: Sun, 6 Sep 2015 16:11:06 +0900 (JST)
Subject: [ruby-changes:39695] normal:r51776 (trunk): ccan/list/list.h: suppress unused argument warnings
normal 2015-09-06 16:10:54 +0900 (Sun, 06 Sep 2015) New Revision: 51776 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51776 Log: 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@c...> Signed-off-by: Rusty Russell <rusty@r...> Modified files: trunk/ChangeLog trunk/ccan/list/list.h Index: ChangeLog =================================================================== --- ChangeLog (revision 51775) +++ ChangeLog (revision 51776) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Sep 6 16:07:22 2015 Eric Wong <e@8...> + + * ccan/list/list.h: suppress unused argument warnings + [ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b] + Sat Sep 5 11:39:52 2015 Nobuyoshi Nakada <nobu@r...> * lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction Index: ccan/list/list.h =================================================================== --- ccan/list/list.h (revision 51775) +++ ccan/list/list.h (revision 51776) @@ -42,8 +42,8 @@ struct list_head https://github.com/ruby/ruby/blob/trunk/ccan/list/list.h#L42 }; #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/