summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-26 10:31:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-26 21:57:09 +0900
commitb091889ed67f278b1652ddde88596e2160d5aef0 (patch)
tree6954d5d8bd45faf70e307e09f8ec48cafbc59f58 /parse.y
parent1e2a8f7c945ddb93f083a320f6ad6536596a81ce (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4121
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index ddaa9f67498..41e9894a463 100644
--- a/parse.y
+++ b/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;