diff options
| author | Lua Team <team@lua.org> | 2015-06-03 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2015-06-03 12:00:00 +0000 |
| commit | 6ddf2b3ca86471f90439976967c9e608582f0d0b (patch) | |
| tree | 7fa563fe4062fcea38b86adfe8a26ac413f0d97b /src/ltm.c | |
| parent | 34c362812ab38172d3da36404ec9a85f929579c5 (diff) | |
| download | lua-github-5.3.1-rc1.tar.gz | |
Lua 5.3.1-rc15.3.1-rc1
Diffstat (limited to 'src/ltm.c')
| -rw-r--r-- | src/ltm.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 2.33 2014/11/21 12:15:57 roberto Exp $ +** $Id: ltm.c,v 2.34 2015/03/30 15:42:27 roberto Exp $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -117,6 +117,7 @@ void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, switch (event) { case TM_CONCAT: luaG_concaterror(L, p1, p2); + /* call never returns, but to avoid warnings: *//* FALLTHROUGH */ case TM_BAND: case TM_BOR: case TM_BXOR: case TM_SHL: case TM_SHR: case TM_BNOT: { lua_Number dummy; @@ -124,8 +125,8 @@ void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, luaG_tointerror(L, p1, p2); else luaG_opinterror(L, p1, p2, "perform bitwise operation on"); - /* else go through */ } + /* calls never return, but to avoid warnings: *//* FALLTHROUGH */ default: luaG_opinterror(L, p1, p2, "perform arithmetic on"); } |
