diff options
Diffstat (limited to 'func.c')
-rw-r--r-- | func.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -102,8 +102,7 @@ void lua_funcinfo (lua_Object func, char **filename, int *linedefined) | |||
102 | void luaI_registerlocalvar (TaggedString *varname, int line) | 102 | void luaI_registerlocalvar (TaggedString *varname, int line) |
103 | { | 103 | { |
104 | if (numcurrvars >= maxcurrvars) | 104 | if (numcurrvars >= maxcurrvars) |
105 | maxcurrvars = growvector(&currvars, maxcurrvars, LocVar, | 105 | maxcurrvars = growvector(&currvars, maxcurrvars, LocVar, "", MAX_WORD); |
106 | lockEM, MAX_WORD); | ||
107 | currvars[numcurrvars].varname = varname; | 106 | currvars[numcurrvars].varname = varname; |
108 | currvars[numcurrvars].line = line; | 107 | currvars[numcurrvars].line = line; |
109 | numcurrvars++; | 108 | numcurrvars++; |