Commit 3e5724f3 authored by Daniel Black's avatar Daniel Black

Add va_end to make cppcheck happy

parent 9c9d10b4
...@@ -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