Add va_end to make cppcheck happy

This commit is contained in:
Daniel Black 2016-01-19 14:47:41 +11:00
parent 9c9d10b441
commit 3e5724f3bb

View file

@ -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
} }