This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch 0.27.x
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git

commit c209b5312788b24eff4a3ef7fbfbb43d106306ed
Author: Jiri Danek <jda...@redhat.com>
AuthorDate: Wed Feb 20 22:49:26 2019 -0800

    NO-JIRA: Fix unused-variable warning from clang
    
    (cherry picked from commit f16be7816f5736e932ae588b605d36b67e757206)
---
 c/src/core/codec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/c/src/core/codec.c b/c/src/core/codec.c
index f8608a1..93b209f 100644
--- a/c/src/core/codec.c
+++ b/c/src/core/codec.c
@@ -337,6 +337,7 @@ int pni_inspect_exit(void *ctx, pn_data_t *data, pni_node_t 
*node)
     if (node->next) {
       if (parent && parent->atom.type == PN_MAP && (pni_node_lindex(data, 
node) % 2) == 0) {
         err = pn_string_addf(str, "=");
+        if (err) return err;
       } else if (parent && parent->atom.type == PN_DESCRIBED && node->prev == 
0) {
         err = pn_string_addf(str, " ");
         if (err) return err;


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

Reply via email to