summary refs log tree commit diff stats
path: root/target/hexagon/idef-parser/idef-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'target/hexagon/idef-parser/idef-parser.y')
-rw-r--r--target/hexagon/idef-parser/idef-parser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/hexagon/idef-parser/idef-parser.y b/target/hexagon/idef-parser/idef-parser.y
index 8be44a0ad1..c14cb39500 100644
--- a/target/hexagon/idef-parser/idef-parser.y
+++ b/target/hexagon/idef-parser/idef-parser.y
@@ -99,6 +99,8 @@
 /* Input file containing the description of each hexagon instruction */
 input : instructions
       {
+          /* Suppress warning about unused yynerrs */
+          (void) yynerrs;
           YYACCEPT;
       }
       ;