You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/01/28 12:30:42 UTC

svn commit: r1439349 - /qpid/proton/trunk/proton-c/src/codec/codec.c

Author: mcpierce
Date: Mon Jan 28 11:30:42 2013
New Revision: 1439349

URL: http://svn.apache.org/viewvc?rev=1439349&view=rev
Log:
PROTON-202: Assigns a default value to scanned in codec.c

Submitted by: Dan HorĂ¡k <da...@danny.cz>

Modified:
    qpid/proton/trunk/proton-c/src/codec/codec.c

Modified: qpid/proton/trunk/proton-c/src/codec/codec.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/codec/codec.c?rev=1439349&r1=1439348&r2=1439349&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/codec/codec.c (original)
+++ qpid/proton/trunk/proton-c/src/codec/codec.c Mon Jan 28 11:30:42 2013
@@ -1356,7 +1356,7 @@ int pn_data_vscan(pn_data_t *data, const
     bool found = false;
     pn_type_t type;
 
-    bool scanned;
+    bool scanned = false;
     bool suspend = resume_count > 0;
 
     switch (code) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org