diff options
author | Daniel Black <daniel.black@au.ibm.com> | 2016-01-19 14:47:41 +1100 |
---|---|---|
committer | Daniel Black <daniel.black@au.ibm.com> | 2016-01-19 14:47:41 +1100 |
commit | 3e5724f3bbc686d1a3c10a3d89a9aa68baa3c0d8 (patch) | |
tree | ca1efdee34068c19aa25393406000b8ef32317dc /sql/rpl_reporting.cc | |
parent | 9c9d10b441fe79b111509949ca40afe1a6284c0f (diff) | |
download | mariadb-git-3e5724f3bbc686d1a3c10a3d89a9aa68baa3c0d8.tar.gz |
Add va_end to make cppcheck happy
Diffstat (limited to 'sql/rpl_reporting.cc')
-rw-r--r-- | sql/rpl_reporting.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_reporting.cc b/sql/rpl_reporting.cc index f442f3a37c0..ebb0dbec1cb 100644 --- a/sql/rpl_reporting.cc +++ b/sql/rpl_reporting.cc @@ -57,6 +57,7 @@ Slave_reporting_capability::report(loglevel level, int err_code, report_function= sql_print_information; break; default: + va_end(args); DBUG_ASSERT(0); // should not come here return; // don't crash production builds, just do nothing } |