commit 538351ac6e2b0223513a03a8e7397afcb4d78c7f from: Markus Uhlin date: Sat Mar 7 23:23:22 2026 UTC lines_file: discard the fclose() return value commit - 25b6fb8411651371d2d6c5be2fca15de291b55eb commit + 538351ac6e2b0223513a03a8e7397afcb4d78c7f blob - 39460973dbcf5a6df282c85a67cf3358608254e8 blob + 2dc659dce723a8421b2b88ab0200a94c1e9d88d2 --- FICS/utils.c +++ 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; }