Enable and fix -Wextra warnings

Fixed all warnings that were present with -Wextra.
This commit is contained in:
Markus Mäkelä
2018-07-02 16:02:32 +03:00
parent 34f61bc4f2
commit b98c0841b4
44 changed files with 126 additions and 105 deletions

View File

@ -227,7 +227,7 @@ void *query_thread(void *ptr)
char str[256];
sprintf(str, "INSERT INTO t1 VALUES (%d, %d)", insert_val, insert_val + 100);
insert_val = 0;
execute_query(Test->repl->nodes[0], str);
execute_query(Test->repl->nodes[0], "%s", str);
}
}