From: Wolfgang Bumiller Date: Wed, 14 Aug 2013 10:09:26 +0000 (+0200) Subject: remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked... X-Git-Tag: v0.3.0~21 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=3ece4a964f7fd04424ff7c619fc43c1056fa98c1;hp=586a70ea1d7a4b6af842cc96bba790b695ecee06;p=xonotic%2Fgmqcc.git remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked into both the testsuite and qcvm --- 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 -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"