1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ctdb:tests: Add missing va_end() in ctdb_set_error()

Found by csbuild.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>
This commit is contained in:
Andreas Schneider 2019-05-20 15:52:12 +02:00 committed by Andreas Schneider
parent 1958cd8a7f
commit 39c15ab2b7

View File

@ -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);
}