Values API: standardize parameters and return values
[babeltrace.git] / cli / babeltrace-cfg-cli-args-connect.c
index b693455c612a9920195defb62068039840cc42eb..a1c72ab2ee20a5e2466927ac8028e64c7eed7a08 100644 (file)
@@ -700,8 +700,7 @@ int bt_config_cli_args_create_connections(struct bt_config *cfg,
                const char *arg;
                struct bt_config_connection *cfg_connection;
 
-               ret = bt_value_string_get(arg_value, &arg);
-               BT_ASSERT(ret == 0);
+               arg = bt_value_string_get(arg_value);
                cfg_connection = cfg_connection_from_arg(arg);
                if (!cfg_connection) {
                        snprintf(error_buf, error_buf_size, "Cannot parse --connect option's argument:\n    %s\n",
This page took 0.024166 seconds and 4 git commands to generate.