summaryrefslogtreecommitdiffstats
path: root/module/lua/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/lua/ldebug.c')
-rw-r--r--module/lua/ldebug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/lua/ldebug.c b/module/lua/ldebug.c
index 15fe91b0b..32bb908cd 100644
--- a/module/lua/ldebug.c
+++ b/module/lua/ldebug.c
@@ -324,6 +324,7 @@ 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;
}