From aefcd174a822ed9f2929eb968631df03f69aede3 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 7 Feb 2023 21:09:29 -0800 Subject: [PATCH] Scripting: Warning cleanup --- src/script/test/lua.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/script/test/lua.c b/src/script/test/lua.c index 16ecc9987..49c5521d7 100644 --- a/src/script/test/lua.c +++ b/src/script/test/lua.c @@ -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)");