lua

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

commit 45a8f1b59310f9db74d9fc17264be2c2b2a06217
parent 8fac494509523dba479640a3e9b60c6f929b0788
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 20 Sep 2024 09:43:19 -0300

Removed 'if' left from commit ddfa1fbccfe

Diffstat:
Mlapi.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/lapi.c b/lapi.c @@ -545,7 +545,6 @@ LUA_API const char *lua_pushextlstring (lua_State *L, ts = luaS_newextlstr (L, s, len, falloc, ud); setsvalue2s(L, L->top.p, ts); api_incr_top(L); - if (falloc != NULL) /* non-static string? */ luaC_checkGC(L); lua_unlock(L); return getstr(ts);