Remove dead code from filter grammar test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Sep 2015 17:12:31 +0000 (13:12 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Sep 2015 17:12:31 +0000 (13:12 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/lib/lttng-ctl/filter/filter-grammar-test.c

index 136ef0c78f2b924d1befe61bd04050ba1fb7f04a..782154306768f944b3869cec77483efd625d08fe 100644 (file)
@@ -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;
This page took 0.02646 seconds and 4 git commands to generate.