Repository: qpid-proton
Updated Branches:
  refs/heads/master 7e8e78d0e -> 6a1ea519e


NO-JIRA: Fix coverity scan error in cpp/src/engine_test.cpp

Added missing ASSERT statement.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6a1ea519
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/6a1ea519
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/6a1ea519

Branch: refs/heads/master
Commit: 6a1ea519e7f4491f40894ae95b84ca73aa59c006
Parents: 7e8e78d
Author: Alan Conway <[email protected]>
Authored: Mon Aug 8 15:26:20 2016 +0100
Committer: Alan Conway <[email protected]>
Committed: Mon Aug 8 15:26:20 2016 +0100

----------------------------------------------------------------------
 proton-c/bindings/cpp/src/engine_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6a1ea519/proton-c/bindings/cpp/src/engine_test.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/engine_test.cpp 
b/proton-c/bindings/cpp/src/engine_test.cpp
index ead888b..6c3341f 100644
--- a/proton-c/bindings/cpp/src/engine_test.cpp
+++ b/proton-c/bindings/cpp/src/engine_test.cpp
@@ -252,7 +252,7 @@ void test_no_container() {
         e.connection().container();
         FAIL("expected error");
     } catch (proton::error) {}
-    make_thread_safe<connection>(e.connection()).get();
+    ASSERT(make_thread_safe<connection>(e.connection()).get());
     ASSERT(!make_thread_safe<connection>(e.connection()).get()->event_loop());
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to