Fix test build failures with GCC 8

GCC 8 enables -Werror=return-type by default which combined with -Werror
causes the build to fail.
This commit is contained in:
Markus Mäkelä
2018-04-20 13:54:12 +03:00
parent 2c6d27d600
commit 0f0913fc99
15 changed files with 36 additions and 34 deletions

View File

@ -12,7 +12,7 @@
using namespace std;
int check_max_conn(int router, int max_conn, TestConnections * Test)
void check_max_conn(int router, int max_conn, TestConnections * Test)
{
MYSQL * conn[max_conn + 1];