Initialize all stack variables to zero, fix uninitialized loglevel variables
[lttng-tools.git] / src / bin / lttng / commands / enable_channels.c
index 692480e816f28c2e2d808d326a8520c2a59e750d..91345e051247a6bed7d55be7df10ccee2cfcf023 100644 (file)
@@ -155,6 +155,8 @@ static int enable_channel(char *session_name)
        char *channel_name;
        struct lttng_domain dom;
 
+       memset(&dom, 0, sizeof(dom));
+
        /* Create lttng domain */
        if (opt_kernel) {
                dom.type = LTTNG_DOMAIN_KERNEL;
This page took 0.023219 seconds and 4 git commands to generate.