From 538351ac6e2b0223513a03a8e7397afcb4d78c7f Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 8 Mar 2026 00:23:22 +0100 Subject: lines_file: discard the fclose() return value --- FICS/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FICS/utils.c b/FICS/utils.c index 3946097..2dc659d 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -1018,7 +1018,7 @@ lines_file(char *file) while (fgets(tmp, sizeof tmp, fp) != NULL && !feof(fp)) lcount++; - fclose(fp); + (void) fclose(fp); return lcount; } -- cgit v1.2.3