aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lparser.c b/lparser.c
index 1850d6dc..af2b64d1 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1166,6 +1166,7 @@ static void funcargs (LexState *ls, expdesc *f) {
1166 } 1166 }
1167 default: { 1167 default: {
1168 luaX_syntaxerror(ls, "function arguments expected"); 1168 luaX_syntaxerror(ls, "function arguments expected");
1169 return; /* to avoid warnings */
1169 } 1170 }
1170 } 1171 }
1171 lua_assert(f->k == VNONRELOC); 1172 lua_assert(f->k == VNONRELOC);