From: Mathieu Desnoyers Date: Tue, 6 Dec 2011 15:50:34 +0000 (-0500) Subject: Fix uninitialized match variable X-Git-Tag: v1.9.1~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5e87eb4acd975d6f614405a301538ee0824e8311;p=lttng-ust.git Fix uninitialized match variable Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/ltt-probes.c b/liblttng-ust/ltt-probes.c index a8ca9dae..090126e4 100644 --- a/liblttng-ust/ltt-probes.c +++ b/liblttng-ust/ltt-probes.c @@ -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))