aboutsummaryrefslogtreecommitdiff
path: root/common/lua/ldo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/lua/ldo.cpp')
-rw-r--r--common/lua/ldo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/lua/ldo.cpp b/common/lua/ldo.cpp
index f4139cb9fc..e1de0cfbaf 100644
--- a/common/lua/ldo.cpp
+++ b/common/lua/ldo.cpp
@@ -61,6 +61,8 @@ void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) {
setsvalue2s(L, oldtop, luaS_newliteral(L, MEMERRMSG));
break;
}
+ default:
+ // fallthrough intended
case LUA_ERRERR: {
setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling"));
break;