mirror of
https://github.com/lua/lua
synced 2024-11-22 04:41:23 +03:00
Removed 'if' left from commit ddfa1fbccf
This commit is contained in:
parent
8fac494509
commit
45a8f1b593
1
lapi.c
1
lapi.c
@ -545,7 +545,6 @@ LUA_API const char *lua_pushextlstring (lua_State *L,
|
|||||||
ts = luaS_newextlstr (L, s, len, falloc, ud);
|
ts = luaS_newextlstr (L, s, len, falloc, ud);
|
||||||
setsvalue2s(L, L->top.p, ts);
|
setsvalue2s(L, L->top.p, ts);
|
||||||
api_incr_top(L);
|
api_incr_top(L);
|
||||||
if (falloc != NULL) /* non-static string? */
|
|
||||||
luaC_checkGC(L);
|
luaC_checkGC(L);
|
||||||
lua_unlock(L);
|
lua_unlock(L);
|
||||||
return getstr(ts);
|
return getstr(ts);
|
||||||
|
Loading…
Reference in New Issue
Block a user