diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-10-08 12:53:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-10-08 12:53:05 -0300 |
commit | 880df57e525979c1372c2ef426319c0b01b9c9a4 (patch) | |
tree | 88a565f4079c297135da63f65c9308bf5b8e721b /lstrlib.c | |
parent | 8949904783c2fdda1b6c6cec99637cf6d5471359 (diff) | |
download | lua-880df57e525979c1372c2ef426319c0b01b9c9a4.tar.gz lua-880df57e525979c1372c2ef426319c0b01b9c9a4.tar.bz2 lua-880df57e525979c1372c2ef426319c0b01b9c9a4.zip |
detail (removed unreacheable 'break')
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.233 2015/09/26 18:45:03 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.234 2015/09/28 18:05:01 roberto Exp roberto $ |
3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1390,7 +1390,7 @@ static int str_packsize (lua_State *L) { | |||
1390 | case Kstring: /* strings with length count */ | 1390 | case Kstring: /* strings with length count */ |
1391 | case Kzstr: /* zero-terminated string */ | 1391 | case Kzstr: /* zero-terminated string */ |
1392 | luaL_argerror(L, 1, "variable-length format"); | 1392 | luaL_argerror(L, 1, "variable-length format"); |
1393 | break; | 1393 | /* call never return, but to avoid warnings: *//* FALLTHROUGH */ |
1394 | default: break; | 1394 | default: break; |
1395 | } | 1395 | } |
1396 | } | 1396 | } |