Fix to fix in idf.c

This commit is contained in:
ceriel 1996-02-19 12:19:47 +00:00
parent 67cb729554
commit 3895a59e03

View file

@ -528,11 +528,8 @@ declare_formals(idf, fp)
/* When one of the formals has the same name as the function,
it hides the function def. Get it.
*/
while (se) {
if (se->se_idf == idf) {
if (se && se->se_idf == idf) {
df = df->next;
break;
}
}
hasproto = df->df_type->tp_proto != 0;