1
0
Fork 0
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:
Nobuyoshi Nakada 2021-01-26 10:31:53 +09:00
parent 1e2a8f7c94
commit b091889ed6
Notes: git 2021-01-26 21:57:34 +09:00

View file

@ -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;