]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked...
authorWolfgang Bumiller <wry.git@bumiller.com>
Wed, 14 Aug 2013 10:09:26 +0000 (12:09 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Wed, 14 Aug 2013 10:09:26 +0000 (12:09 +0200)
exec.c
test.c

diff --git a/exec.c b/exec.c
index 16e5ded6dbdaf8654643d2096e528e16e80d93a5..da79a05e941f3439392f57b2e4bc391d3412c85f 100644 (file)
--- 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 1e303fda216114cae4a89b9236103af486a83f41..d3132e25c342f807529630552c4480d406a11c47 100644 (file)
--- a/test.c
+++ b/test.c
@@ -27,8 +27,6 @@
 
 #include "gmqcc.h"
 
-opts_cmd_t opts;
-
 static const char *task_bins[] = {
     "./gmqcc",
     "./qcvm"