Make some bt_param_validation_map_value_entry_descr variables static
[babeltrace.git] / src / plugins / utils / dummy / dummy.c
index 703535e7707754d4841dcddab9da4d7d04375fb3..224b0696687a7bc77077f5b79e2674a510b28a80 100644 (file)
@@ -34,6 +34,7 @@
 static
 const char * const in_port_name = "in";
 
+static
 void destroy_private_dummy_data(struct dummy *dummy)
 {
        bt_self_component_port_input_message_iterator_put_ref(dummy->msg_iter);
@@ -53,6 +54,7 @@ void dummy_finalize(bt_self_component_sink *comp)
        destroy_private_dummy_data(dummy);
 }
 
+static
 struct bt_param_validation_map_value_entry_descr dummy_params[] = {
        BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_END
 };
@@ -155,7 +157,7 @@ bt_component_class_sink_consume_method_status dummy_consume(
 
        dummy = bt_self_component_get_data(
                bt_self_component_sink_as_self_component(component));
-       BT_ASSERT(dummy);
+       BT_ASSERT_DBG(dummy);
 
        if (G_UNLIKELY(!dummy->msg_iter)) {
                status = BT_COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_END;
This page took 0.024879 seconds and 4 git commands to generate.