Take -Wall into use for tests

Take almost all warnings into use except `format-overflow` and
`unused-function`. format-overflow needs to be handled in a separate
commit.
This commit is contained in:
Markus Mäkelä
2018-04-20 14:58:38 +03:00
parent 0f0913fc99
commit 421e64ceeb
43 changed files with 57 additions and 121 deletions

View File

@ -19,11 +19,11 @@ static int test_long_data(MYSQL *conn, int sqlsize)
MYSQL_STMT *stmt;
stmt = mysql_stmt_init(conn);
int rc, int_data;
int int_data;
MYSQL_RES *result;
MYSQL_BIND my_bind[1];
rc = mysql_autocommit(conn, 1);
mysql_autocommit(conn, 1);
if (NULL == stmt)
{