From 77cfb2e8aee418e206467cf5a165e604337d970f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Kr=C3=BCger?= Date: Fri, 3 Apr 2015 12:44:20 +0200 Subject: [PATCH] main.c: missing va_end(ap). was (cppcheck): [main.c:73]: (error) va_list 'ap' was opened but not closed by va_end(). --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 1fa088f..9995fd5 100644 --- a/main.c +++ b/main.c @@ -68,6 +68,7 @@ static void errx(int status, const char *format, ...) va_list ap; va_start(ap, format); vfprintf(stderr, format, ap); + va_end(ap); fputs("\n", stderr); exit(status); } -- 2.39.2