configure: re-enable '-Wunused-parameter'
[babeltrace.git] / tests / param-validation / test-param-validation.c
index fa1401046e23b2d9acf32734edcdd0010e0d652c..5607d3201c9b8e679b8174bfa4b47d29fc48aaa6 100644 (file)
@@ -282,7 +282,7 @@ void test_string_invalid_choice(void)
 static
 enum bt_param_validation_status custom_validation_func_valid(
                const bt_value *value,
-               struct bt_param_validation_context *context)
+               struct bt_param_validation_context *context __attribute__((unused)))
 {
        ok(bt_value_get_type(value) == BT_VALUE_TYPE_UNSIGNED_INTEGER,
                "type of value passed to custom function is as expected");
@@ -306,7 +306,7 @@ void test_custom_validation_func_valid(void)
 
 static
 enum bt_param_validation_status custom_validation_func_invalid(
-               const bt_value *value,
+               const bt_value *value __attribute__((unused)),
                struct bt_param_validation_context *context)
 {
        return bt_param_validation_error(context, "wrooooong");
This page took 0.02596 seconds and 4 git commands to generate.