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

@ -35,7 +35,6 @@ json_t * RDS::get_subnets_group_descr(char * json)
{
json_t *root;
json_error_t error;
char * j;
root = json_loads( json, 0, &error );
if ( !root )
@ -167,7 +166,6 @@ int RDS::destroy_subnets()
int RDS::destroy_route_tables()
{
json_t *root;
json_error_t error;
char cmd[1024];
char * json;