You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2017/03/01 14:31:02 UTC

qpid-dispatch git commit: DISPATCH-623 - Thanks Adel Boutros. Fix for unreachable code (qd_field_iterator_free after a return statement) detected on Solaris

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 67bf5013f -> 551ec4cda


DISPATCH-623 - Thanks Adel Boutros. Fix for unreachable code (qd_field_iterator_free after a return statement) detected on Solaris


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/551ec4cd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/551ec4cd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/551ec4cd

Branch: refs/heads/master
Commit: 551ec4cda67424142b4f089f7b611da02f631de4
Parents: 67bf501
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Wed Mar 1 09:30:41 2017 -0500
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Wed Mar 1 09:30:41 2017 -0500

----------------------------------------------------------------------
 tests/field_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/551ec4cd/tests/field_test.c
----------------------------------------------------------------------
diff --git a/tests/field_test.c b/tests/field_test.c
index 508e357..dcf80d9 100644
--- a/tests/field_test.c
+++ b/tests/field_test.c
@@ -419,8 +419,8 @@ static char* test_view_node_hash(void *context)
             char *got = (char*) qd_iterator_copy(iter);
             snprintf(fail_text, FAIL_TEXT_SIZE, "Addr '%s' failed.  Expected '%s', got '%s'",
                      cases[idx].addr, cases[idx].view, got);
-            return fail_text;
             qd_iterator_free(iter);
+            return fail_text;
         }
         qd_iterator_free(iter);
     }


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