Fix uninitialized match variable
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Dec 2011 15:50:34 +0000 (10:50 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Dec 2011 15:50:34 +0000 (10:50 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/ltt-probes.c

index a8ca9dae3ec64c610e4226df87a4c2bf832ed154..090126e4e1c13d45dc70f14392535a8a066b79af 100644 (file)
@@ -258,7 +258,7 @@ void _probes_create_loglevel_events(struct loglevel_entry *entry,
                for (i = 0; i < probe_desc->nr_events; i++) {
                        const struct tracepoint_loglevel_entry *ev_ll;
                        const struct lttng_event_desc *event_desc;
-                       int match;
+                       int match = 0;
 
                        event_desc = probe_desc->event_desc[i];
                        if (!(event_desc->loglevel))
This page took 0.027003 seconds and 4 git commands to generate.