From: Andreas Schneider Date: Mon, 20 May 2019 13:52:12 +0000 (+0200) Subject: ctdb:tests: Add missing va_end() in ctdb_set_error() X-Git-Tag: ldb-2.0.5~640 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39c15ab2b7a38eb2871419336b08863fd20d5143;p=thirdparty%2Fsamba.git ctdb:tests: Add missing va_end() in ctdb_set_error() Found by csbuild. Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- diff --git a/ctdb/tests/src/ctdb_io_test.c b/ctdb/tests/src/ctdb_io_test.c index 9cd02aa0eaa..e3cb0a98ffe 100644 --- a/ctdb/tests/src/ctdb_io_test.c +++ b/ctdb/tests/src/ctdb_io_test.c @@ -29,6 +29,7 @@ void ctdb_set_error(struct ctdb_context *ctdb, const char *fmt, ...) va_list ap; va_start(ap, fmt); vprintf(fmt, ap); + va_end(ap); assert(false); }