From e9843cdaee26387310384fa0a1d43d450b017350 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Tue, 2 Feb 2021 18:06:56 +0900 Subject: [PATCH] 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(-) --- parse.y | 1 - version.h | 2 +- 2 files changed, 1 insertion(+), 2 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; diff --git a/version.h b/version.h index 198b65e80a..6b0931ab26 100644 --- a/version.h +++ b/version.h @@ -12,7 +12,7 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 30 +#define RUBY_PATCHLEVEL 31 #define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_MONTH 2