aboutsummaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lstring.c b/lstring.c
index bd40841d..c73e521c 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 2.34 2013/09/05 19:31:49 roberto Exp roberto $ 2** $Id: lstring.c,v 2.35 2013/09/11 12:26:14 roberto Exp roberto $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -118,8 +118,6 @@ LUAI_FUNC void luaS_remove (lua_State *L, TString *ts) {
118 p = &(*p)->tsv.hnext; 118 p = &(*p)->tsv.hnext;
119 *p = (*p)->tsv.hnext; /* remove element from its list */ 119 *p = (*p)->tsv.hnext; /* remove element from its list */
120 tb->nuse--; 120 tb->nuse--;
121 if (tb->nuse < tb->size/4)
122 luaS_resize(L, tb->size/2);
123} 121}
124 122
125 123