From 53acd1c1d88be82190c56af3e4cc11fb2770a169 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Thu, 21 Jan 2021 16:20:57 +1100 Subject: [PATCH] maria: ma_recovery cppcheck va_start called twice Per cppcheck, va_start is called twice which it is. Remove the second instance. --- storage/maria/ma_recovery_util.c | 1 - 1 file changed, 1 deletion(-) diff --git a/storage/maria/ma_recovery_util.c b/storage/maria/ma_recovery_util.c index 3b617f625f0..9443ba90f6c 100644 --- a/storage/maria/ma_recovery_util.c +++ b/storage/maria/ma_recovery_util.c @@ -95,7 +95,6 @@ void eprint(FILE *trace_file __attribute__ ((unused)), fputc('\n', trace_file); if (trace_file != stderr) { - va_start(args, format); my_printv_error(HA_ERR_INITIALIZATION, format, MYF(0), args); } va_end(args);