Commit db5f743c authored by Vicențiu-Marian Ciorbaru's avatar Vicențiu-Marian Ciorbaru

Merge pull request #148 from grooverdan/5.5-rpl_reporting-cppcheck-va_end

MDEV-9433: Add va_end to sql/rpl_reporting.cc to make cppcheck happy
parents 6ecf6d84 3e5724f3
...@@ -57,6 +57,7 @@ Slave_reporting_capability::report(loglevel level, int err_code, ...@@ -57,6 +57,7 @@ Slave_reporting_capability::report(loglevel level, int err_code,
report_function= sql_print_information; report_function= sql_print_information;
break; break;
default: default:
va_end(args);
DBUG_ASSERT(0); // should not come here DBUG_ASSERT(0); // should not come here
return; // don't crash production builds, just do nothing return; // don't crash production builds, just do nothing
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment