Fix uninitialized has_loglevel variable
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 20 Mar 2013 20:07:07 +0000 (16:07 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 20 Mar 2013 20:07:07 +0000 (16:07 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-events.c

index b6e2ab3972a2c135f9957340f1c9845869c02696..78a4f7603de5003fc6af44f47feafdc9d887b669 100644 (file)
@@ -440,7 +440,7 @@ int lttng_desc_match_wildcard_enabler(const struct lttng_event_desc *desc,
                struct lttng_enabler *enabler)
 {
        int loglevel = 0;
-       unsigned int has_loglevel;
+       unsigned int has_loglevel = 0;
 
        assert(enabler->type == LTTNG_ENABLER_WILDCARD);
        /* Compare excluding final '*' */
This page took 0.027284 seconds and 4 git commands to generate.