Really check for fd
[apps/madmutt.git] / tools / lempar.c
index 168efc4..9220588 100644 (file)
@@ -548,9 +548,10 @@ static void yy_parse_failed(
 ** The following code executes when a syntax error first occurs.
 */
 static void yy_syntax_error(
-  yyParser *yypParser,           /* The parser */
-  int yymajor,                   /* The major type of the error token */
-  YYMINORTYPE yyminor            /* The minor type of the error token */
+  yyParser *yypParser,                 /* The parser */
+  int yymajor __attribute__((unused)), /* The major type of the error token */
+  YYMINORTYPE yyminor __attribute__((unused))
+                                       /* The minor type of the error token */
 ){
   ParseARG_FETCH;
 #define TOKEN (yyminor.yy0)