mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
enum.c: suppress warnings
* enum.c (sliceafter_ii): suppress unused-value warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c0ce8f0e6
commit
8d236c317f
1 changed files with 1 additions and 1 deletions
2
enum.c
2
enum.c
|
@ -3094,7 +3094,7 @@ struct sliceafter_arg {
|
|||
static VALUE
|
||||
sliceafter_ii(RB_BLOCK_CALL_FUNC_ARGLIST(i, _memo))
|
||||
{
|
||||
#define UPDATE_MEMO ((memo = MEMO_FOR(struct sliceafter_arg, _memo)), 1)
|
||||
#define UPDATE_MEMO ((void)(memo = MEMO_FOR(struct sliceafter_arg, _memo)))
|
||||
struct sliceafter_arg *memo;
|
||||
int split_p;
|
||||
UPDATE_MEMO;
|
||||
|
|
Loading…
Reference in a new issue