Pārlūkot izejas kodu

Removed 'if' left from commit ddfa1fbccfe

Roberto Ierusalimschy 10 mēneši atpakaļ
vecāks
revīzija
45a8f1b593
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      lapi.c

+ 0 - 1
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);