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
This commit is contained in:
commit
db5f743c31
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user