From: Jérémie Galarneau Date: Thu, 26 Mar 2015 18:57:59 +0000 (-0400) Subject: Cleanup: Remove stale #ifdef-ed-out code from spawn_viewer() X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d15b34086541ad6b9c067f41da42abebf26ce4ca;p=lttng-tools.git Cleanup: Remove stale #ifdef-ed-out code from spawn_viewer() Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index dba614c2f..dc37a09dd 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -258,17 +258,6 @@ static int spawn_viewer(const char *trace_path) argv = alloc_argv_from_local_opts(babeltrace_opts, ARRAY_SIZE(babeltrace_opts), trace_path); break; -#if 0 - case VIEWER_LTTV_GUI: - if (stat(lttv_gui_bin, &status) == 0) { - viewer_bin = lttv_gui_bin; - } else { - viewer_bin = viewer->exec_name; - } - argv = alloc_argv_from_local_opts(lttv_gui_opts, - ARRAY_SIZE(lttv_gui_opts), trace_path); - break; -#endif case VIEWER_USER_DEFINED: argv = alloc_argv_from_user_opts(opt_viewer, trace_path); if (argv) {