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:
parent
2bfc88a45e
commit
1fab35ba15
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue