lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 0bd99b327b2b485bd90116b78ddec82352fad046
parent 6d8b67209443e03d83cb7b6306dc0ef098d0f1f8
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 30 Nov 2011 10:44:02 -0200

avoid "unreachable" 'break'

Diffstat:
Mlobject.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lobject.c b/lobject.c @@ -1,5 +1,5 @@ /* -** $Id: lobject.c,v 2.53 2011/07/27 12:09:13 roberto Exp roberto $ +** $Id: lobject.c,v 2.53 2011/07/27 12:13:08 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ @@ -221,7 +221,6 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { luaG_runerror(L, "invalid option " LUA_QL("%%%c") " to " LUA_QL("lua_pushfstring"), *(e + 1)); - break; } } n += 2;