From 3895a59e03e4e68976d7009711854ddb85094726 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 19 Feb 1996 12:19:47 +0000 Subject: [PATCH] Fix to fix in idf.c --- lang/cem/cemcom.ansi/idf.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lang/cem/cemcom.ansi/idf.c b/lang/cem/cemcom.ansi/idf.c index 58a42ca7d..8429fe036 100644 --- a/lang/cem/cemcom.ansi/idf.c +++ b/lang/cem/cemcom.ansi/idf.c @@ -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) { - df = df->next; - break; - } + if (se && se->se_idf == idf) { + df = df->next; } hasproto = df->df_type->tp_proto != 0; -- 2.34.1