summaryrefslogtreecommitdiff
path: root/test/calc2.y
diff options
context:
space:
mode:
Diffstat (limited to 'test/calc2.y')
-rw-r--r--test/calc2.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/calc2.y b/test/calc2.y
index e742ff34c215..d9193d0872bd 100644
--- a/test/calc2.y
+++ b/test/calc2.y
@@ -88,9 +88,13 @@ main (void)
return 0;
}
+#define UNUSED(x) ((void)(x))
+
static void
YYERROR_DECL()
{
+ UNUSED(regs); /* %parse-param regs is not actually used here */
+ UNUSED(base); /* %parse-param base is not actually used here */
fprintf(stderr, "%s\n", s);
}