babeltrace: remove duplicate default test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jul 2011 16:18:20 +0000 (12:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jul 2011 16:18:20 +0000 (12:18 -0400)
Reported-by: Amer Alhalabi <amer.alhalabi@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
converter/babeltrace.c

index e4efea29707afa304a8ead31a1395f9af4a24cbb..dd335edbb20d56374559d450cdcbbfdf8b29861b 100644 (file)
@@ -189,8 +189,6 @@ int main(int argc, char **argv)
                        opt_input_format);
                exit(EXIT_FAILURE);
        }
-       if (!opt_output_format)
-               opt_output_format = "ctf";
        fmt_write = bt_lookup_format(g_quark_from_static_string(opt_output_format));
        if (!fmt_write) {
                fprintf(stdout, "[error] format \"%s\" is not supported.\n\n",
This page took 0.023808 seconds and 4 git commands to generate.