You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2020/08/11 16:17:30 UTC
[qpid-dispatch] 01/02: DISPATCH-1742 - Removed compiler warning by
initializing a boolean value.
This is an automated email from the ASF dual-hosted git repository.
tross pushed a commit to branch dev-protocol-adaptors
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
commit 8be9471524c37fe40c6e25a6574a1ca568d26e0b
Author: Ted Ross <tr...@apache.org>
AuthorDate: Tue Aug 11 12:15:17 2020 -0400
DISPATCH-1742 - Removed compiler warning by initializing a boolean value.
---
src/adaptors/http1/http1_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/adaptors/http1/http1_lib.c b/src/adaptors/http1/http1_lib.c
index 991d492..102a1aa 100644
--- a/src/adaptors/http1/http1_lib.c
+++ b/src/adaptors/http1/http1_lib.c
@@ -1034,7 +1034,7 @@ static bool parse_body_chunked_trailer(http1_conn_t *conn, struct decoder_t *dec
// Return True if there is more data pending to parse
static bool parse_body_chunked(http1_conn_t *conn, struct decoder_t *decoder)
{
- bool more;
+ bool more = true;
switch (decoder->chunk_state) {
case HTTP1_CHUNK_HEADER:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org