summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlan Antonuk <aega@med.umich.edu>2012-05-22 12:34:03 -0400
committerAlan Antonuk <aega@med.umich.edu>2012-05-24 15:46:50 -0400
commit990f932ea4c2aadecf554d7aa59045f862c566ff (patch)
tree5de9b6f235557b5963de761ab4f0f136c0f97808 /examples
parent970ccbc411c47c72920f1a6c94366ff8dd95a2fe (diff)
downloadrabbitmq-c-github-ask-990f932ea4c2aadecf554d7aa59045f862c566ff.tar.gz
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
Diffstat (limited to 'examples')
-rw-r--r--examples/utils.c2
1 files changed, 1 insertions, 1 deletions
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;