projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove unused _NO_SINK graph status
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
graph-internal.h
diff --git
a/include/babeltrace/graph/graph-internal.h
b/include/babeltrace/graph/graph-internal.h
index ec2f65ecff9d2afd55ab548f84b2f539a4991530..d9ae46f6b0573785e462e8c6f8f8f52a3145a43f 100644
(file)
--- a/
include/babeltrace/graph/graph-internal.h
+++ b/
include/babeltrace/graph/graph-internal.h
@@
-177,8
+177,6
@@
const char *bt_graph_status_string(enum bt_graph_status status)
return "BT_GRAPH_STATUS_END";
case BT_GRAPH_STATUS_OK:
return "BT_GRAPH_STATUS_OK";
return "BT_GRAPH_STATUS_END";
case BT_GRAPH_STATUS_OK:
return "BT_GRAPH_STATUS_OK";
- case BT_GRAPH_STATUS_NO_SINK:
- return "BT_GRAPH_STATUS_NO_SINK";
case BT_GRAPH_STATUS_ERROR:
return "BT_GRAPH_STATUS_ERROR";
case BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION:
case BT_GRAPH_STATUS_ERROR:
return "BT_GRAPH_STATUS_ERROR";
case BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION:
@@
-219,6
+217,10
@@
enum bt_graph_status bt_graph_configure(struct bt_graph *graph)
goto end;
}
goto end;
}
+#ifdef BT_ASSERT_PRE
+ BT_ASSERT_PRE(graph->has_sink, "Graph has no sink component: %!+g", graph);
+#endif
+
graph->config_state = BT_GRAPH_CONFIGURATION_STATE_PARTIALLY_CONFIGURED;
for (i = 0; i < graph->components->len; i++) {
graph->config_state = BT_GRAPH_CONFIGURATION_STATE_PARTIALLY_CONFIGURED;
for (i = 0; i < graph->components->len; i++) {
This page took
0.023552 seconds
and
4
git commands to generate.