The initialize value can be not zero, so no need to assert this check. Just log this as a warning. --- src/imm/agent/imma_init.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/imm/agent/imma_init.cc b/src/imm/agent/imma_init.cc index 8d3b120b6..bde657158 100644 --- a/src/imm/agent/imma_init.cc +++ b/src/imm/agent/imma_init.cc @@ -146,10 +146,8 @@ static uint32_t imma_create(NCSMDS_SVC_ID sv_id) { if (cb->sv_id != 0) { /*The osafassert below seems to occurr sometimes on some systems. */ - TRACE_4("cb->sv_id is NOT ZERO (%x) on first time entry IMMA svid:%x", + LOG_WA("cb->sv_id is NOT ZERO (%x) on first time entry IMMA svid:%x", cb->sv_id, sv_id); - - osafassert(cb->sv_id == 0); } cb->sv_id = sv_id; -- 2.25.1 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel