- if (add_internal_plugin_paths(cfg)) {
- goto error;
- }
-
- /* Append current component configuration, if any */
- if (cur_cfg_comp && !cur_is_implicit_source) {
- add_cfg_comp(cfg, cur_cfg_comp, cur_cfg_comp_dest);
- }
- cur_cfg_comp = NULL;
-
- if (use_implicit_source) {
- add_cfg_comp(cfg, implicit_source_comp,
- BT_CONFIG_COMPONENT_DEST_SOURCE);
- implicit_source_comp = NULL;
- } else {
- if (implicit_source_comp
- && !bt_value_map_is_empty(implicit_source_comp->params)) {
- printf_err("Arguments specified for implicit source, but an explicit source has been specified, overriding it\n");
- goto error;
- }
- }
-