From 990f932ea4c2aadecf554d7aa59045f862c566ff Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 22 May 2012 12:34:03 -0400 Subject: Adding more strict compile Warning flags to gcc build Added: -Wall -Wextra -pedantic -Wstrict-prototypes -Wcast-align -Wno-unused-function -fno-common -fvisibility=hidden The library compiles cleanly with the exception of the tools dir which has trouble with the initializer lists --- examples/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/utils.c b/examples/utils.c index 871fc2a..b047c8d 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -133,7 +133,7 @@ void amqp_dump(void const *buffer, size_t len) { long count = 0; int numinrow = 0; int chs[16]; - int oldchs[16]; + int oldchs[16] = {0}; int showed_dots = 0; size_t i; -- cgit v1.2.1