avoid a null-reference

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

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
}