Fix: Remove overly restrictive asserts in create_session()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Mar 2014 15:25:26 +0000 (11:25 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 19 Mar 2014 17:26:04 +0000 (13:26 -0400)
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 <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/config/config.c

index a890c9d872e1778875811c598cd448451a5ff793..13af2f117e7bf7306cdab4930d45a711da5312ab 100644 (file)
@@ -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);
This page took 0.026255 seconds and 4 git commands to generate.