summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-08-09 17:30:09 +0100
committerDavid Wragg <david@rabbitmq.com>2010-08-09 17:30:09 +0100
commit55a5ffa8b12a5b1de877e820786be814131340e6 (patch)
tree64c27a975c16a8d49c227072921a79a3a488a426
parent0a7540f14ce26b9c1f6fba4996c8096cfdce4890 (diff)
downloadrabbitmq-c-github-ask-55a5ffa8b12a5b1de877e820786be814131340e6.tar.gz
add missing initializersbug21814
-rw-r--r--tools/consume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/consume.c b/tools/consume.c
index a641708..943406b 100644
--- a/tools/consume.c
+++ b/tools/consume.c
@@ -170,8 +170,8 @@ int main(int argc, const char **argv)
char *queue = NULL;
char *exchange = NULL;
char *routing_key = NULL;
- int declare;
- int no_ack;
+ int declare = 0;
+ int no_ack = 0;
amqp_bytes_t queue_bytes;
struct poptOption options[] = {