diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-09-20 09:43:46 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-09-20 09:43:46 -0300 |
commit | 45a8f1b59310f9db74d9fc17264be2c2b2a06217 (patch) | |
tree | dd017df9469f8c4d298f3457bd0be61c21f7a850 | |
parent | 8fac494509523dba479640a3e9b60c6f929b0788 (diff) | |
download | lua-45a8f1b59310f9db74d9fc17264be2c2b2a06217.tar.gz lua-45a8f1b59310f9db74d9fc17264be2c2b2a06217.tar.bz2 lua-45a8f1b59310f9db74d9fc17264be2c2b2a06217.zip |
Removed 'if' left from commit ddfa1fbccfe
-rw-r--r-- | lapi.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -545,7 +545,6 @@ LUA_API const char *lua_pushextlstring (lua_State *L, | |||
545 | ts = luaS_newextlstr (L, s, len, falloc, ud); | 545 | ts = luaS_newextlstr (L, s, len, falloc, ud); |
546 | setsvalue2s(L, L->top.p, ts); | 546 | setsvalue2s(L, L->top.p, ts); |
547 | api_incr_top(L); | 547 | api_incr_top(L); |
548 | if (falloc != NULL) /* non-static string? */ | ||
549 | luaC_checkGC(L); | 548 | luaC_checkGC(L); |
550 | lua_unlock(L); | 549 | lua_unlock(L); |
551 | return getstr(ts); | 550 | return getstr(ts); |