summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2013-05-30 21:37:09 +0000
committerTed Ross <tross@apache.org>2013-05-30 21:37:09 +0000
commitddad5ec338d0093708c02e4d5fa11f354e11b51d (patch)
treebb6ec12d403fddd4505b16711d0932e0327aed9e
parent7a1a7b9a3b652b48f2feaecb31b8989c92dc9b36 (diff)
downloadqpid-python-ddad5ec338d0093708c02e4d5fa11f354e11b51d.tar.gz
NO-JIRA - Fixed a warning thrown in Release mode on older compilers.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488021 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--extras/dispatch/src/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/dispatch/src/iterator.c b/extras/dispatch/src/iterator.c
index 676413382e..3998cd9f94 100644
--- a/extras/dispatch/src/iterator.c
+++ b/extras/dispatch/src/iterator.c
@@ -401,7 +401,7 @@ static dx_field_iterator_t *dx_field_parse_amqp_value(dx_field_iterator_t *iter,
value->view_prefix = 0;
unsigned char tag = dx_field_iterator_octet(iter);
- unsigned int length;
+ unsigned int length = 0;
unsigned int length_size = 0;
(*available)--;