aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-10-08 12:53:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-10-08 12:53:05 -0300
commit880df57e525979c1372c2ef426319c0b01b9c9a4 (patch)
tree88a565f4079c297135da63f65c9308bf5b8e721b /lstrlib.c
parent8949904783c2fdda1b6c6cec99637cf6d5471359 (diff)
downloadlua-880df57e525979c1372c2ef426319c0b01b9c9a4.tar.gz
lua-880df57e525979c1372c2ef426319c0b01b9c9a4.tar.bz2
lua-880df57e525979c1372c2ef426319c0b01b9c9a4.zip
detail (removed unreacheable 'break')
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 5a58c7f1..9708e36e 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -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 }