Plugins: use UNUSED_VAR instead of casting to void
[babeltrace.git] / plugins / ctf / lttng-live / lttng-live.c
index cac2250316fbdcbb66811783003e65e8fd0e4b27..add91ccb0005ac294c6fc7ad3f2efdef1782f9a8 100644 (file)
 
 #include "lttng-live-internal.h"
 #include <babeltrace/component/component-source.h>
+#include <plugins-common.h>
 
 BT_HIDDEN
 enum bt_component_status lttng_live_iterator_init(struct bt_component *source,
                struct bt_notification_iterator *it)
 {
+    return BT_COMPONENT_STATUS_OK;
 }
 
 BT_HIDDEN
 enum bt_component_status lttng_live_init(struct bt_component *component,
-               struct bt_value *params, void *init_method_data)
+               struct bt_value *params, UNUSED_VAR void *init_method_data)
 {
        return BT_COMPONENT_STATUS_OK;
 }
This page took 0.024055 seconds and 4 git commands to generate.