ruby-changes:65045
From: Nobuyoshi <ko1@a...>
Date: Tue, 26 Jan 2021 21:57:31 +0900 (JST)
Subject: [ruby-changes:65045] b091889ed6 (master): Removed YYUSE [Bug #17582]
https://git.ruby-lang.org/ruby.git/commit/?id=b091889ed6 From b091889ed67f278b1652ddde88596e2160d5aef0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 26 Jan 2021 10:31:53 +0900 Subject: 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(-) diff --git a/parse.y b/parse.y index ddaa9f6..41e9894 100644 --- a/parse.y +++ b/parse.y @@ -13334,7 +13334,6 @@ count_char(const char *str, int c) https://github.com/ruby/ruby/blob/trunk/parse.y#L13334 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; -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/