diff options
| -rw-r--r-- | lparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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); |
