Add va_end to make cppcheck happy
This commit is contained in:
parent
9c9d10b441
commit
3e5724f3bb
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user