From aadf8331dab9ca7d3931b721d587cfd6b75ad189 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 6 Jun 2015 22:56:45 +0100 Subject: Fix cppcheck warning --- src/tools/lcc/lburg/gram.y | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools') diff --git a/src/tools/lcc/lburg/gram.y b/src/tools/lcc/lburg/gram.y index 1ecd8a9e..c0a9c942 100644 --- a/src/tools/lcc/lburg/gram.y +++ b/src/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); } -- cgit