Cleanup: Remove stale #ifdef-ed-out code from spawn_viewer()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 26 Mar 2015 18:57:59 +0000 (14:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 26 Mar 2015 22:08:04 +0000 (18:08 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/view.c

index dba614c2f5733cf59ce5f5c62aaf0c2fc44119c8..dc37a09ddb58f83f01757dc5e89c75a46fa2deb9 100644 (file)
@@ -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) {
This page took 0.026025 seconds and 4 git commands to generate.