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

@ -130,13 +130,9 @@ bool cdc_com(TestConnections *Test)
if (nfds > 0)
{
// for each ready socket
//for(int i = 0; i < nfds; i++)
//{
int fd = events[0].data.fd;
char *json = read_sc(sock);
Test->tprintf("%s", json);
//}
if (ignore_first > 0)
{
ignore_first--; // ignoring first reads