From cf94537266a97a7f5309fdb2c566b2ac4860fa9a Mon Sep 17 00:00:00 2001 From: iphydf Date: Wed, 2 Nov 2016 15:13:06 +0000 Subject: Enable all possible C compiler warning flags. We disable the ones that fire, so we can use -Werror. We can then investigate each warning individually and see whether to fix it or to keep silencing it. --- testing/nTox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/nTox.c b/testing/nTox.c index 3b24d903..88a80dac 100644 --- a/testing/nTox.c +++ b/testing/nTox.c @@ -184,7 +184,7 @@ static uint32_t add_filesender(Tox *m, uint16_t friendnum, char *filename) static void fraddr_to_str(uint8_t *id_bin, char *id_str) { - uint32_t i, delta = 0, pos_extra, sum_extra = 0; + uint32_t i, delta = 0, pos_extra = 0, sum_extra = 0; for (i = 0; i < TOX_ADDRESS_SIZE; i++) { sprintf(&id_str[2 * i + delta], "%02hhX", id_bin[i]); -- cgit v1.2.3