From 01275693a621bd32bbbaa04a7b48c210f20fb77f Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 6 Jun 2015 22:56:45 +0100 Subject: [PATCH] Fix cppcheck warning --- code/tools/lcc/lburg/gram.y | 1 + 1 file changed, 1 insertion(+) diff --git a/code/tools/lcc/lburg/gram.y b/code/tools/lcc/lburg/gram.y index 1ecd8a9e..c0a9c942 100644 --- a/code/tools/lcc/lburg/gram.y +++ b/code/tools/lcc/lburg/gram.y @@ -199,4 +199,5 @@ void yywarn(char *fmt, ...) { fprintf(stderr, "line %d: ", yylineno); fprintf(stderr, "warning: "); vfprintf(stderr, fmt, ap); + va_end(ap); }