avoid a null-reference

This commit is contained in:
ceriel 1989-06-19 11:09:44 +00:00
parent f99f25cc5f
commit e2b5163869

View file

@ -246,7 +246,8 @@ getstring(isident)
#ifdef CHECKING
if (strleft < 0) {
xerror("Negative length in string");
return 0;
s->length = 0;
return s;
}
#endif CHECKING
}