aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ratings.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2026-03-09 21:04:34 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2026-03-09 21:04:34 +0100
commit7c8bc15f72b5d73003ee1a931212088bc7d072ff (patch)
tree347a06565fa80af068b19a8dd3922ad0ed61d8f7 /FICS/ratings.c
parentbdda485b2ace42ccdf628f4366ea3b6a9ef1e801 (diff)
Discarded fclose() return values for nonnull file pointers
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r--FICS/ratings.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index 6d71892..d1d10d8 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -1900,11 +1900,11 @@ DisplayTargetRank(int p, char *target, int show, int showComp)
pprintf(p, "No ratings to show.\n");
if (fb != NULL)
- fclose(fb);
+ (void) fclose(fb);
if (fs != NULL)
- fclose(fs);
+ (void) fclose(fs);
if (fw != NULL)
- fclose(fw);
+ (void) fclose(fw);
return 0;
}
@@ -1918,11 +1918,11 @@ DisplayTargetRank(int p, char *target, int show, int showComp)
showComp, show, target);
if (fb != NULL)
- fclose(fb);
+ (void) fclose(fb);
if (fs != NULL)
- fclose(fs);
+ (void) fclose(fs);
if (fw != NULL)
- fclose(fw);
+ (void) fclose(fw);
return 1;
}
@@ -1965,11 +1965,11 @@ DisplayRankedPlayers(int p, int start, int end, int show, int showComp)
"");
if (fb)
- fclose(fb);
+ (void) fclose(fb);
if (fs)
- fclose(fs);
+ (void) fclose(fs);
if (fw)
- fclose(fw);
+ (void) fclose(fw);
return 1;
}