Values API: standardize parameters and return values
[babeltrace.git] / plugins / ctf / fs-sink / writer.c
index b8e21137c6962af1ba2d1c444bbfbc58efd225f4..d9166834e02580495e62fc353f2e1a5d37294c92 100644 (file)
@@ -278,11 +278,7 @@ enum bt_component_status apply_one_bool(const char *key,
        if (!value) {
                goto end;
        }
-       status = bt_value_bool_get(value, &bool_val);
-       if (status != BT_VALUE_STATUS_OK) {
-               ret = BT_COMPONENT_STATUS_ERROR;
-               goto end;
-       }
+       bool_val = bt_value_bool_get(value);
 
        *option = (bool) bool_val;
        if (found) {
This page took 0.024583 seconds and 4 git commands to generate.