Fix: lib/graph/iterator: consider clock classes from message iterator inactivity...
[babeltrace.git] / src / ctf-writer / values.c
index f6cc21b0346af7e8054529949c91f0416cba0302..e1a9854203ceb40136c8851a39f70df102b94415 100644 (file)
@@ -13,7 +13,6 @@
 #include <inttypes.h>
 
 #include <babeltrace2-ctf-writer/object.h>
-#include <babeltrace2/types.h>
 
 #include "common/assert.h"
 #include "common/common.h"
@@ -152,7 +151,8 @@ void (* const destroy_funcs[])(struct bt_ctf_value *) = {
 };
 
 static
-struct bt_ctf_private_value *bt_ctf_value_null_copy(const struct bt_ctf_value *null_obj)
+struct bt_ctf_private_value *bt_ctf_value_null_copy(
+               const struct bt_ctf_value *null_obj __attribute__((unused)))
 {
        return (void *) bt_ctf_value_null;
 }
@@ -303,8 +303,9 @@ struct bt_ctf_private_value *(* const copy_funcs[])(const struct bt_ctf_value *)
 };
 
 static
-bt_ctf_bool bt_ctf_value_null_compare(const struct bt_ctf_value *object_a,
-               const struct bt_ctf_value *object_b)
+bt_ctf_bool bt_ctf_value_null_compare(
+               const struct bt_ctf_value *object_a __attribute__((unused)),
+               const struct bt_ctf_value *object_b __attribute__((unused)))
 {
        /*
         * Always BT_CTF_TRUE since bt_ctf_value_compare() already checks if both
@@ -477,7 +478,7 @@ bt_ctf_bool (* const compare_funcs[])(const struct bt_ctf_value *,
 };
 
 static
-void bt_ctf_value_null_freeze(struct bt_ctf_value *object)
+void bt_ctf_value_null_freeze(struct bt_ctf_value *object __attribute__((unused)))
 {
 }
 
This page took 0.022653 seconds and 4 git commands to generate.