From b1d1dc14cf92a1070a9b38242b3b3ba67d25c2f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 15 Sep 2015 13:12:31 -0400 Subject: [PATCH] Remove dead code from filter grammar test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/lib/lttng-ctl/filter/filter-grammar-test.c | 17 ----------------- 1 file changed, 17 deletions(-) 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; -- 2.34.1