From: Mathieu Desnoyers Date: Tue, 7 Feb 2012 22:46:54 +0000 (-0500) Subject: Fix unitilialized ret value (revisited) X-Git-Tag: v2.0-pre20~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7248846cfa228ceeb454fa6b0b69bf283cef937;p=lttng-tools.git Fix unitilialized ret value (revisited) Signed-off-by: Mathieu Desnoyers --- diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index 575109b86..aa8d612b5 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -329,6 +329,7 @@ static int view_trace(void) if (!found) { MSG("Session name %s not found", session_name); + ret = CMD_ERROR; goto free_sessions; }