mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Add va_end to make cppcheck happy
This commit is contained in:
parent
9c9d10b441
commit
3e5724f3bb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue