diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 13:23:59 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 13:23:59 +0100 |
commit | 1692bdcbeb549afe0085df9d5829dd2ab2d95e96 (patch) | |
tree | c034cc3eb78919f06bca99c9ecdd7cea235de8a9 /FICS/playerdb.c | |
parent | 7ff43967bd7748b611f3eb44cf9707a445e3de9d (diff) |
Reformatted ClearTextList()
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r-- | FICS/playerdb.c | 9 |
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 */; + } } /* |