projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: lib: graph.c: dead assignment
[babeltrace.git]
/
src
/
lib
/
graph
/
graph.c
diff --git
a/src/lib/graph/graph.c
b/src/lib/graph/graph.c
index f406a526e7d5e827779627dea99a2447417ce289..3c9be9ef28c358a025f429748533d9d5b4fddae0 100644
(file)
--- a/
src/lib/graph/graph.c
+++ b/
src/lib/graph/graph.c
@@
-303,7
+303,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.source_output_port_added);
if (!graph->listeners.source_output_port_added) {
graph->listeners.source_output_port_added);
if (!graph->listeners.source_output_port_added) {
- ret = -1;
goto error;
}
goto error;
}
@@
-311,7
+310,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.filter_output_port_added);
if (!graph->listeners.filter_output_port_added) {
graph->listeners.filter_output_port_added);
if (!graph->listeners.filter_output_port_added) {
- ret = -1;
goto error;
}
goto error;
}
@@
-319,7
+317,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.filter_input_port_added);
if (!graph->listeners.filter_input_port_added) {
graph->listeners.filter_input_port_added);
if (!graph->listeners.filter_input_port_added) {
- ret = -1;
goto error;
}
goto error;
}
@@
-327,7
+324,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.sink_input_port_added);
if (!graph->listeners.sink_input_port_added) {
graph->listeners.sink_input_port_added);
if (!graph->listeners.sink_input_port_added) {
- ret = -1;
goto error;
}
goto error;
}
@@
-335,7
+331,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.source_filter_ports_connected);
if (!graph->listeners.source_filter_ports_connected) {
graph->listeners.source_filter_ports_connected);
if (!graph->listeners.source_filter_ports_connected) {
- ret = -1;
goto error;
}
goto error;
}
@@
-343,7
+338,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.source_sink_ports_connected);
if (!graph->listeners.source_sink_ports_connected) {
graph->listeners.source_sink_ports_connected);
if (!graph->listeners.source_sink_ports_connected) {
- ret = -1;
goto error;
}
goto error;
}
@@
-351,7
+345,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.filter_filter_ports_connected);
if (!graph->listeners.filter_filter_ports_connected) {
graph->listeners.filter_filter_ports_connected);
if (!graph->listeners.filter_filter_ports_connected) {
- ret = -1;
goto error;
}
goto error;
}
@@
-359,7
+352,6
@@
struct bt_graph *bt_graph_create(uint64_t mip_version)
graph->listeners.filter_sink_ports_connected);
if (!graph->listeners.filter_sink_ports_connected) {
graph->listeners.filter_sink_ports_connected);
if (!graph->listeners.filter_sink_ports_connected) {
- ret = -1;
goto error;
}
goto error;
}
This page took
0.023765 seconds
and
4
git commands to generate.