summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2021-02-02 18:06:56 +0900
committerNARUSE, Yui <naruse@airemix.jp>2021-02-02 18:06:56 +0900
commite9843cdaee26387310384fa0a1d43d450b017350 (patch)
tree2bbccc4bf6ce1717f16bb1e3afb5cc582ac0df48 /parse.y
parent3cebc709539c9d0ac5bf0b7b280ec74c8029815f (diff)
merge revision(s) b091889ed67f278b1652ddde88596e2160d5aef0: [Backport #17582]
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. --- parse.y | 1 - 1 file changed, 1 deletion(-)
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 70c4ddfcdc..ca55b96ecd 100644
--- a/parse.y
+++ b/parse.y
@@ -13324,7 +13324,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;