aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/playerdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r--FICS/playerdb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index d68a3a4..c819eb5 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -1987,11 +1987,12 @@ PUBLIC textlist *ClearTextListEntry(textlist *entry)
return ret;
}
-PUBLIC void ClearTextList(textlist *head)
+PUBLIC void
+ClearTextList(textlist *head)
{
- textlist *cur;
-
- for (cur = head; cur != NULL; cur = ClearTextListEntry(cur));
+ for (textlist *cur = head; cur != NULL; cur = ClearTextListEntry(cur)) {
+ /* null */;
+ }
}
/*