aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/command.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/FICS/command.c b/FICS/command.c
index 0d0f9f2..63a08f3 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -794,11 +794,11 @@ check_news(int p, int admin)
if (fgets(junk, sizeof junk, fp) == NULL) {
warnx("%s: fgets() error", __func__);
- fclose(fp);
+ (void) fclose(fp);
return;
} else if (sscanf(junk, v_scan_fmt, &lval, count) != 2) {
warnx("%s: sscanf() error", __func__);
- fclose(fp);
+ (void) fclose(fp);
return;
}
@@ -844,11 +844,11 @@ check_news(int p, int admin)
if (fgets(junk, sizeof junk, fp) == NULL) {
warnx("%s: fgets() error", __func__);
- fclose(fp);
+ (void) fclose(fp);
return;
} else if (sscanf(junk, v_scan_fmt, &lval, count) != 2) {
warnx("%s: sscanf() error", __func__);
- fclose(fp);
+ (void) fclose(fp);
return;
}
@@ -1348,9 +1348,9 @@ commands_init(void)
clean_up:
if (fp)
- fclose(fp);
+ (void) fclose(fp);
if (afp)
- fclose(afp);
+ (void) fclose(afp);
}
/* Need to save rated games */