public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cb729
)
Fix to fix in idf.c
author
ceriel
<none@none>
Mon, 19 Feb 1996 12:19:47 +0000
(12:19 +0000)
committer
ceriel
<none@none>
Mon, 19 Feb 1996 12:19:47 +0000
(12:19 +0000)
lang/cem/cemcom.ansi/idf.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/idf.c
b/lang/cem/cemcom.ansi/idf.c
index
58a42ca
..
8429fe0
100644
(file)
--- 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;