"fileName" cannot be NULL
This commit is contained in:
5
lgc.c
5
lgc.c
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: lgc.c,v 1.17 1998/03/06 16:54:42 roberto Exp roberto $
|
** $Id: lgc.c,v 1.18 1998/03/09 21:49:52 roberto Exp roberto $
|
||||||
** Garbage Collector
|
** Garbage Collector
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -169,8 +169,7 @@ static void protomark (TProtoFunc *f)
|
|||||||
LocVar *v = f->locvars;
|
LocVar *v = f->locvars;
|
||||||
int i;
|
int i;
|
||||||
f->head.marked = 1;
|
f->head.marked = 1;
|
||||||
if (f->fileName)
|
strmark(f->fileName);
|
||||||
strmark(f->fileName);
|
|
||||||
for (i=0; i<f->nconsts; i++)
|
for (i=0; i<f->nconsts; i++)
|
||||||
markobject(&f->consts[i]);
|
markobject(&f->consts[i]);
|
||||||
if (v) {
|
if (v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user