diff --git a/exec.c b/exec.c
index 16e5ded..da79a05 100644
--- a/exec.c
+++ b/exec.c
@@ -591,8 +591,6 @@ cleanup:
 #if defined(QCVM_EXECUTOR)
 #include <math.h>
 
-opts_cmd_t opts;
-
 const char *type_name[TYPE_COUNT] = {
     "void",
     "string",
diff --git a/test.c b/test.c
index 1e303fd..d3132e2 100644
--- a/test.c
+++ b/test.c
@@ -27,8 +27,6 @@
 
 #include "gmqcc.h"
 
-opts_cmd_t opts;
-
 static const char *task_bins[] = {
     "./gmqcc",
     "./qcvm"