mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed YYUSE [Bug #17582]
Although it was used just to suppress an "unsed argument" warning in the same manner as other bison-provided functions, it has been dropped since Bision 3.7.5. And we always suppress that warnings.
This commit is contained in:
parent
1e2a8f7c94
commit
b091889ed6
Notes:
git
2021-01-26 21:57:34 +09:00
1 changed files with 0 additions and 1 deletions
1
parse.y
1
parse.y
|
@ -13334,7 +13334,6 @@ count_char(const char *str, int c)
|
|||
RUBY_FUNC_EXPORTED size_t
|
||||
rb_yytnamerr(struct parser_params *p, char *yyres, const char *yystr)
|
||||
{
|
||||
YYUSE(p);
|
||||
if (*yystr == '"') {
|
||||
size_t yyn = 0, bquote = 0;
|
||||
const char *yyp = yystr;
|
||||
|
|
Loading…
Reference in a new issue