Skip to content

Commit

Permalink
Removed YYUSE [Bug #17582]
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nobu committed Jan 26, 2021
1 parent 1e2a8f7 commit b091889
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b091889

Please sign in to comment.