projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: de-duplicate "no error" assertion in add port functions
[babeltrace.git]
/
src
/
lib
/
graph
/
component-filter.c
diff --git
a/src/lib/graph/component-filter.c
b/src/lib/graph/component-filter.c
index ba940dea6d19b252bd579b92c016e77a81cf310d..79e577454452c0c1cf533054b79febbd7546f60d 100644
(file)
--- a/
src/lib/graph/component-filter.c
+++ b/
src/lib/graph/component-filter.c
@@
-128,8
+128,6
@@
enum bt_self_component_add_port_status bt_self_component_filter_add_output_port(
enum bt_self_component_add_port_status status;
struct bt_port *port = NULL;
enum bt_self_component_add_port_status status;
struct bt_port *port = NULL;
- BT_ASSERT_PRE_NO_ERROR();
-
/*
* bt_component_add_output_port() logs details/errors and checks
* preconditions.
/*
* bt_component_add_output_port() logs details/errors and checks
* preconditions.
@@
-219,8
+217,6
@@
enum bt_self_component_add_port_status bt_self_component_filter_add_input_port(
struct bt_port *port = NULL;
struct bt_component *comp = (void *) self_comp;
struct bt_port *port = NULL;
struct bt_component *comp = (void *) self_comp;
- BT_ASSERT_PRE_NO_ERROR();
-
/*
* bt_component_add_input_port() logs details/errors and checks
* preconditions.
/*
* bt_component_add_input_port() logs details/errors and checks
* preconditions.
This page took
0.023825 seconds
and
4
git commands to generate.