aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua
diff options
context:
space:
mode:
Diffstat (limited to 'module/lua')
-rw-r--r--module/lua/ldebug.c1
-rw-r--r--module/lua/ldo.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/module/lua/ldebug.c b/module/lua/ldebug.c
index 2e1efa4e7..da005c443 100644
--- a/module/lua/ldebug.c
+++ b/module/lua/ldebug.c
@@ -324,7 +324,6 @@ static void kname (Proto *p, int pc, int c, const char **name) {
if (ISK(c)) { /* is 'c' a constant? */
TValue *kvalue = &p->k[INDEXK(c)];
if (ttisstring(kvalue)) { /* literal constant? */
- // cppcheck-suppress autoVariables
*name = svalue(kvalue); /* it is its own name */
return;
}
diff --git a/module/lua/ldo.c b/module/lua/ldo.c
index 474fe659b..f3c3dcb4d 100644
--- a/module/lua/ldo.c
+++ b/module/lua/ldo.c
@@ -196,7 +196,6 @@ int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) {
struct lua_longjmp lj;
lj.status = LUA_OK;
lj.previous = L->errorJmp; /* chain new error handler */
- // cppcheck-suppress autoVariables
L->errorJmp = &lj;
LUAI_TRY(L, &lj,
(*f)(L, ud);