configure: re-enable '-Wunused-parameter'
[babeltrace.git] / src / ctf-writer / values.c
index f6cc21b0346af7e8054529949c91f0416cba0302..a6ba5fc90046d0f3692b32b103b6a12168d6255a 100644 (file)
@@ -152,7 +152,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 +304,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 +479,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.024047 seconds and 4 git commands to generate.