mirror of https://github.com/mgba-emu/mgba.git
Scripting: Warning cleanup
This commit is contained in:
parent
045a2c96dc
commit
aefcd174a8
|
@ -385,9 +385,6 @@ M_TEST_DEFINE(callCFunc) {
|
|||
M_TEST_DEFINE(callCTable) {
|
||||
SETUP_LUA;
|
||||
|
||||
struct mScriptValue a = mSCRIPT_MAKE_S32(1);
|
||||
struct mScriptValue* val;
|
||||
|
||||
assert_true(lua->setGlobal(lua, "b", &boundTableSize));
|
||||
|
||||
TEST_PROGRAM("assert(b({}) == 0)");
|
||||
|
@ -424,7 +421,6 @@ M_TEST_DEFINE(globalNull) {
|
|||
SETUP_LUA;
|
||||
|
||||
struct Test s = {};
|
||||
struct mScriptValue* val;
|
||||
struct mScriptValue a;
|
||||
|
||||
LOAD_PROGRAM("assert(a)");
|
||||
|
|
Loading…
Reference in New Issue