From 45a8f1b59310f9db74d9fc17264be2c2b2a06217 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 20 Sep 2024 09:43:46 -0300 Subject: Removed 'if' left from commit ddfa1fbccfe --- lapi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 40db1214..7980ead0 100644 --- 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); -- cgit v1.2.3-55-g6feb