diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:07:42 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-08 00:07:42 +0100 |
| commit | db1f4a566ccedcd8bb86ad1136d3e52de73bedb4 (patch) | |
| tree | 70fdbee49e00f26719aa5effb1b1522b88bb253f /FICS | |
| parent | 10d34b0d842cf8244378a4bfcadd317faa6fdd19 (diff) | |
Discarded fclose() return value
Diffstat (limited to 'FICS')
| -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 76cad6c..599a4ac 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -957,7 +957,7 @@ truncate_file(const char *file, int lines) while (fgets(tBuf[bptr], MAX_LINE_SIZE, fp) != NULL) { if (strchr(tBuf[bptr], '\n') == NULL) { // Line too long - fclose(fp); + (void) fclose(fp); return -1; } |
