Fix va_arg calls (always call va_end)

From the manpage: "Each invocation of va_start() must be matched by a
corresponding invocation of va_end() in the same function."
This commit is contained in:
Peter Duerr
2017-08-07 11:42:43 +02:00
committed by Lorenz Meier
parent b845edba64
commit 453937a89a
4 changed files with 12 additions and 3 deletions
@@ -64,6 +64,7 @@ ekf_debug(const char *fmt, ...)
va_start(args, fmt);
ekf_debug_print(fmt, args);
va_end(args);
}
#else