From: Jérémie Galarneau Date: Tue, 15 Sep 2015 17:06:47 +0000 (-0400) Subject: Remove dead code from view command X-Git-Tag: v2.8.0-rc1~351 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1b849782e0f974cfb85d93a55b823b81d3737a2a;p=lttng-tools.git Remove dead code from view command Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index dc37a09dd..acb4f1e1b 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -111,12 +111,6 @@ static struct viewers *parse_options(void) return &(viewers[VIEWER_BABELTRACE]); } -#if 0 - if (strstr(opt_viewer, viewers[VIEWER_LTTV_GUI].exec_name) == 0) { - return &(viewers[VIEWER_LTTV_GUI]); - } -#endif - /* * This means that if -e, --viewers is used, we just override everything * with it. For supported viewers like lttv, we could simply detect if "-t"