1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
normal 2015-09-06 07:10:54 +00:00
parent 2bfc88a45e
commit 1fab35ba15
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sun Sep 6 16:07:22 2015 Eric Wong <e@80x24.org>
* ccan/list/list.h: suppress unused argument warnings
[ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b]
Sat Sep 5 11:39:52 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> Sat Sep 5 11:39:52 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction * lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction

View file

@ -42,8 +42,8 @@ struct list_head
}; };
#define LIST_LOC __FILE__ ":" stringify(__LINE__) #define LIST_LOC __FILE__ ":" stringify(__LINE__)
#define list_debug(h, loc) (h) #define list_debug(h, loc) ((void)loc, h)
#define list_debug_node(n, loc) (n) #define list_debug_node(n, loc) ((void)loc, n)
/** /**
* LIST_HEAD_INIT - initializer for an empty list_head * LIST_HEAD_INIT - initializer for an empty list_head