X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fctf-writer%2Fvalues.c;fp=src%2Fctf-writer%2Fvalues.c;h=a6ba5fc90046d0f3692b32b103b6a12168d6255a;hb=ecd7492f21a492b70569d5ecc1d3a808241b63f0;hp=f6cc21b0346af7e8054529949c91f0416cba0302;hpb=dd420a9b3f83cda6f77e8813165a061856d9d618;p=babeltrace.git diff --git a/src/ctf-writer/values.c b/src/ctf-writer/values.c index f6cc21b0..a6ba5fc9 100644 --- a/src/ctf-writer/values.c +++ b/src/ctf-writer/values.c @@ -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))) { }