From: Jérémie Galarneau Date: Tue, 15 Sep 2015 17:12:31 +0000 (-0400) Subject: Remove dead code from filter grammar test X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=b1d1dc14cf92a1070a9b38242b3b3ba67d25c2f9 Remove dead code from filter grammar test Signed-off-by: Jérémie Galarneau --- diff --git a/src/lib/lttng-ctl/filter/filter-grammar-test.c b/src/lib/lttng-ctl/filter/filter-grammar-test.c index 136ef0c78..782154306 100644 --- a/src/lib/lttng-ctl/filter/filter-grammar-test.c +++ b/src/lib/lttng-ctl/filter/filter-grammar-test.c @@ -104,23 +104,6 @@ int main(int argc, char **argv) printf("Size of bytecode generated: %u bytes.\n", bytecode_get_len(&ctx->bytecode->b)); } -#if 0 - if (run_bytecode) { - int64_t retval; - - printf("Interpreting bytecode... "); - fflush(stdout); - ret = bytecode_interpret(&ctx->bytecode->b, &retval, NULL); - if (ret) { - fprintf(stderr, "Error interpreting bytecode\n"); - goto parse_error; - } else { - printf("Bytecode interpret result: %" PRIi64 "\n", - retval); - } - printf("done\n"); - } -#endif //0 if (print_bytecode) { unsigned int bytecode_len, len, i;