aboutsummaryrefslogtreecommitdiff
path: root/tests/jmp_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jmp_table.c')
-rw-r--r--tests/jmp_table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jmp_table.c b/tests/jmp_table.c
index 10f9226..9de8cc7 100644
--- a/tests/jmp_table.c
+++ b/tests/jmp_table.c
@@ -5,8 +5,10 @@
#define NTARGETS 4
struct ejit_label targets[NTARGETS];
-int main()
+int main(int argc, char *argv[])
{
+ (void)argv;
+ bool do_jit = argc > 1;
struct ejit_operand operands[1] = {
EJIT_OPERAND_GPR(0, EJIT_POINTER)
};