projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Component creation
[babeltrace.git]
/
converter
/
babeltrace.c
diff --git
a/converter/babeltrace.c
b/converter/babeltrace.c
index 568d5b8f98d9102282c40a08904bddb35b057a37..892096d1fd4ca08ff65fc4617ae5422bb54a4a32 100644
(file)
--- a/
converter/babeltrace.c
+++ b/
converter/babeltrace.c
@@
-775,10
+775,8
@@
int main(int argc, char **argv)
goto end;
}
goto end;
}
- components = bt_component_factory_get_components(component_factory);
- if (!components || bt_value_array_is_empty(components)) {
- printf_error("No plugins found, exiting.");
- ret = -1;
+ ret = bt_component_factory_get_component_class_count(component_factory);
+ if (ret <= 0) {
goto end;
}
goto end;
}
This page took
0.023557 seconds
and
4
git commands to generate.