Remove dead code from view command
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Sep 2015 17:06:47 +0000 (13:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Sep 2015 17:06:47 +0000 (13:06 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/view.c

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