#include "common/common.h"
#include "common/assert.h"
#include <inttypes.h>
+#include <stdbool.h>
#include <stdint.h>
#include "plugins/common/param-validation/param-validation.h"
}
}
+static
void destroy_private_counter_data(struct counter *counter)
{
if (counter) {
counter = bt_self_component_get_data(
bt_self_component_sink_as_self_component(comp));
- BT_ASSERT(counter);
+ BT_ASSERT_DBG(counter);
if (G_UNLIKELY(!counter->msg_iter)) {
try_print_last(counter);
for (i = 0; i < msg_count; i++) {
const bt_message *msg = msgs[i];
- BT_ASSERT(msg);
+ BT_ASSERT_DBG(msg);
switch (bt_message_get_type(msg)) {
case BT_MESSAGE_TYPE_EVENT:
counter->count.event++;