diff --git a/communication/communicators/CommBase.cpp b/communication/communicators/CommBase.cpp index 1ca7845b..b62bc20c 100644 --- a/communication/communicators/CommBase.cpp +++ b/communication/communicators/CommBase.cpp @@ -167,7 +167,6 @@ bool Comm_t::get_global_scope_comm() { if (!model_name) model_name = std::getenv("YGG_SERVER_INPUT"); } - assert(model_name); if (model_name) global_name.assign(model_name); global_scope_comm = 1; diff --git a/communication/rapidjson b/communication/rapidjson index 92d0f8fb..db1bec6b 160000 --- a/communication/rapidjson +++ b/communication/rapidjson @@ -1 +1 @@ -Subproject commit 92d0f8fbd70cebf8c5f9c83af26bbe0923f87c7d +Subproject commit db1bec6bee173bff419cd5c3f4010ddd244e6f32 diff --git a/test/unittest/mock.cpp b/test/unittest/mock.cpp index 18613845..55630e69 100644 --- a/test/unittest/mock.cpp +++ b/test/unittest/mock.cpp @@ -204,7 +204,7 @@ ::zmq::detail::trivial_optional recv_multipart(::zmq::socket_ref, Output return -1; } void *zmq_socket (void *, int) { - assert(RETVAL_CREATE < 0); + assert(RETVAL_CREATE <= 0); return NULL; } int zmq_connect (void *, const char *) {