From 1692bdcbeb549afe0085df9d5829dd2ab2d95e96 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 31 Dec 2023 13:23:59 +0100 Subject: Reformatted ClearTextList() --- FICS/playerdb.c | 9 +++++---- 1 file 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 */; + } } /* -- cgit v1.2.3