Values API: standardize parameters and return values
[babeltrace.git] / plugins / utils / trimmer / trimmer.c
index bcb175df20bd276a34730551fe7ede9526f6a868..777b14fac3c74f2d4a077968c4a288401a886d0e 100644 (file)
@@ -304,11 +304,7 @@ enum bt_component_status init_from_params(struct trimmer *trimmer,
        if (value) {
                enum bt_value_status value_ret;
 
-               value_ret = bt_value_bool_get(value, &gmt);
-               if (value_ret) {
-                       ret = BT_COMPONENT_STATUS_INVALID;
-                       BT_LOGE_STR("Failed to retrieve clock-gmt value. Expecting a boolean");
-               }
+               gmt = bt_value_bool_get(value);
        }
        if (ret != BT_COMPONENT_STATUS_OK) {
                goto end;
This page took 0.023617 seconds and 4 git commands to generate.