Plugins: use UNUSED_VAR instead of casting to void
[babeltrace.git] / plugins / trimmer / trimmer.c
index 1f9f48a3cc5cd37f88a34b2b0ca95b8aba24b4b0..fd028d027cce40ba74cd41ef41fb36dfff347d4a 100644 (file)
@@ -32,6 +32,7 @@
 #include <babeltrace/component/notification/notification.h>
 #include <babeltrace/component/notification/iterator.h>
 #include <babeltrace/component/notification/event.h>
+#include <plugins-common.h>
 #include "trimmer.h"
 #include "iterator.h"
 #include <assert.h>
@@ -349,7 +350,8 @@ end:
 }
 
 enum bt_component_status trimmer_component_init(
-       struct bt_component *component, struct bt_value *params)
+       struct bt_component *component, struct bt_value *params,
+       UNUSED_VAR void *init_method_data)
 {
        enum bt_component_status ret;
        struct trimmer *trimmer = create_trimmer_data();
This page took 0.022948 seconds and 4 git commands to generate.