The current assertions only allow sessions containing all three
domain types to be created. The pointers are already checked at
ln 1242.

Signed-off-by: Jérémie Galarneau <[email protected]>
---
 src/common/config/config.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/common/config/config.c b/src/common/config/config.c
index a890c9d..13af2f1 100644
--- a/src/common/config/config.c
+++ b/src/common/config/config.c
@@ -1186,9 +1186,6 @@ int create_session(const char *name,
        xmlNodePtr consumer_output_node;
 
        assert(name);
-       assert(kernel_domain);
-       assert(ust_domain);
-       assert(jul_domain);
 
        if (output_node) {
                consumer_output_node = xmlFirstElementChild(output_node);
-- 
1.9.0


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to