Commit Diff


commit - 10d34b0d842cf8244378a4bfcadd317faa6fdd19
commit + db1f4a566ccedcd8bb86ad1136d3e52de73bedb4
blob - 76cad6cb87d306e670989c7e6ed6028e0e70ee2f
blob + 599a4ac7ffbcddc2b7b88933a6dfc0f8568e06b2
--- FICS/utils.c
+++ 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;
 		}