X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fcpp-common%2Fbt2%2Fself-message-iterator.hpp;h=e52f08e6727951f398bfa01362140dbab6f518c2;hb=bd6e66fd0c3012ad6bcb03cdb3fb687767fb6ccf;hp=4460fe27e79c422cc90f9f222147a4c48d96ae2b;hpb=5ca48ae961d956ce188ff45b2d2c04127874276a;p=babeltrace.git diff --git a/src/cpp-common/bt2/self-message-iterator.hpp b/src/cpp-common/bt2/self-message-iterator.hpp index 4460fe27..e52f08e6 100644 --- a/src/cpp-common/bt2/self-message-iterator.hpp +++ b/src/cpp-common/bt2/self-message-iterator.hpp @@ -9,7 +9,6 @@ #include -#include "common/assert.h" #include "common/common.h" #include "borrowed-object.hpp" @@ -34,7 +33,6 @@ public: switch (status) { case BT_MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_OK: - BT_ASSERT(libMsgIterPtr); return MessageIterator::Shared::createWithoutRef(libMsgIterPtr); case BT_MESSAGE_ITERATOR_CREATE_FROM_MESSAGE_ITERATOR_STATUS_MEMORY_ERROR: throw MemoryError {};