mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove unused function in parse.y
parse.y:2624:1: warning: unused function 'rb_parser_ary_new'
This commit is contained in:
parent
c637f53edd
commit
149a449964
1 changed files with 0 additions and 6 deletions
6
parse.y
6
parse.y
|
@ -2620,12 +2620,6 @@ rb_parser_ary_new_capa(rb_parser_t *p, long len)
|
|||
}
|
||||
#define rb_parser_ary_new2 rb_parser_ary_new_capa
|
||||
|
||||
inline static rb_parser_ary_t *
|
||||
rb_parser_ary_new(rb_parser_t *p)
|
||||
{
|
||||
return rb_parser_ary_new_capa(p, 0);
|
||||
}
|
||||
|
||||
static rb_parser_ary_t *
|
||||
rb_parser_ary_push(rb_parser_t *p, rb_parser_ary_t *ary, rb_parser_ast_token_t *val)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue