]> git.saurik.com Git - bison.git/commitdiff
(yydestruct_): Pacify unused variable warning for yymsg, too.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Dec 2004 05:42:27 +0000 (05:42 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Dec 2004 05:42:27 +0000 (05:42 +0000)
data/lalr1.cc

index b2f24a0b2bdc5f3f80e640199d8c43c75889d3eb..ed8250759f824623e2dbab61fb7faa9706b09b9a 100644 (file)
@@ -491,6 +491,7 @@ yy::]b4_parser_class_name[::yydestruct_ (const char* yymsg,
                          int yytype, semantic_type* yyvaluep, location_type* yylocationp)
 {
   /* Pacify ``unused variable'' warnings.  */
                          int yytype, semantic_type* yyvaluep, location_type* yylocationp)
 {
   /* Pacify ``unused variable'' warnings.  */
+  (void) yymsg;
   (void) yyvaluep;
   (void) yylocationp;
 
   (void) yyvaluep;
   (void) yylocationp;