lib: strictly type function return status enumerations
[babeltrace.git] / src / cli / babeltrace2-cfg.c
index 4c764a9e618ede9a2e57e30d5b63a5716175ec72..4ab27b0b6a2d0917cb6495f43b67f580dc824df2 100644 (file)
@@ -60,7 +60,7 @@ int bt_config_append_plugin_paths(
 
                ret = bt_value_array_append_string_element(
                        plugin_paths, dir->str);
-               if (ret != BT_VALUE_STATUS_OK) {
+               if (ret < 0) {
                        ret = -1;
                        goto end;
                }
This page took 0.024183 seconds and 4 git commands to generate.