Skip to content

Commit

Permalink
Merge pull request #148 from grooverdan/5.5-rpl_reporting-cppcheck-va…
Browse files Browse the repository at this point in the history
…_end

MDEV-9433: Add va_end to sql/rpl_reporting.cc to make cppcheck happy
  • Loading branch information
cvicentiu committed Feb 6, 2016
2 parents 6ecf6d8 + 3e5724f commit db5f743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/rpl_reporting.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit db5f743

Please sign in to comment.