parent
35da6a5ee3
commit
b882f01c37
@ -0,0 +1,31 @@
|
||||
From d586bcc02c7b2a2d2ef073075b945540e231a76b Mon Sep 17 00:00:00 2001
|
||||
From: mcpierce <mcpierce@13f79535-47bb-0310-9956-ffa450edef68>
|
||||
Date: Mon, 28 Jan 2013 11:30:42 +0000
|
||||
Subject: [PATCH] PROTON-202: Assigns a default value to scanned in codec.c
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Submitted by: Dan Horák <dan@danny.cz>
|
||||
|
||||
git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1439349 13f79535-47bb-0310-9956-ffa450edef68
|
||||
---
|
||||
proton-c/src/codec/codec.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/proton-c/src/codec/codec.c b/proton-c/src/codec/codec.c
|
||||
index d72acc0..a91b644 100644
|
||||
--- a/proton-c/src/codec/codec.c
|
||||
+++ b/proton-c/src/codec/codec.c
|
||||
@@ -1356,7 +1356,7 @@ int pn_data_vscan(pn_data_t *data, const char *fmt, va_list ap)
|
||||
bool found = false;
|
||||
pn_type_t type;
|
||||
|
||||
- bool scanned;
|
||||
+ bool scanned = false;
|
||||
bool suspend = resume_count > 0;
|
||||
|
||||
switch (code) {
|
||||
--
|
||||
1.8.1
|
||||
|
Loading…
Reference in new issue