diff options
author | Tim Angus <tim@ngus.net> | 2015-06-06 22:56:45 +0100 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-06-07 12:03:59 +0100 |
commit | aadf8331dab9ca7d3931b721d587cfd6b75ad189 (patch) | |
tree | d8ff304548cc9029385093df45bbdbf00fc48fff | |
parent | bdbc616c65cdfa02cfab01cb6b067e0865c8245b (diff) |
Fix cppcheck warning
-rw-r--r-- | src/tools/lcc/lburg/gram.y | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |