* parse.y (LVAR_USED): should be int same as ruby_sourceline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43cfe6c63e
commit
2e65b0d8bb
2
parse.y
2
parse.y
@ -8966,7 +8966,7 @@ new_args_gen(struct parser_params *parser, NODE *m, NODE *o, ID r, NODE *p, ID b
|
||||
}
|
||||
#endif /* !RIPPER */
|
||||
|
||||
#define LVAR_USED ((ID)1 << (sizeof(ID) * CHAR_BIT - 1))
|
||||
#define LVAR_USED ((int)1 << (sizeof(int) * CHAR_BIT - 1))
|
||||
|
||||
static void
|
||||
warn_unused_var(struct parser_params *parser, struct vtable *tbl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user