From 880df57e525979c1372c2ef426319c0b01b9c9a4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 8 Oct 2015 12:53:05 -0300 Subject: detail (removed unreacheable 'break') --- lstrlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstrlib.c') diff --git a/lstrlib.c b/lstrlib.c index 5a58c7f1..9708e36e 100644 --- a/lstrlib.c +++ b/lstrlib.c @@ -1,5 +1,5 @@ /* -** $Id: lstrlib.c,v 1.233 2015/09/26 18:45:03 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.234 2015/09/28 18:05:01 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ @@ -1390,7 +1390,7 @@ static int str_packsize (lua_State *L) { case Kstring: /* strings with length count */ case Kzstr: /* zero-terminated string */ luaL_argerror(L, 1, "variable-length format"); - break; + /* call never return, but to avoid warnings: *//* FALLTHROUGH */ default: break; } } -- cgit v1.2.3-55-g6feb