diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:23:22 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:23:22 +0100 |
| commit | 538351ac6e2b0223513a03a8e7397afcb4d78c7f (patch) | |
| tree | 2f604cbdc2bd95a437f1afb85da9770d28f9d72c | |
| parent | 25b6fb8411651371d2d6c5be2fca15de291b55eb (diff) | |
lines_file: discard the fclose() return value
| -rw-r--r-- | FICS/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
