aboutsummaryrefslogtreecommitdiff
path: root/bp.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-22 22:02:22 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-22 22:02:22 -0700
commit315aedc7cb9fbf642c9c3e5b076fc87c5859e847 (patch)
tree617c08167378a4d7bfc67f090ef3447371f293e0 /bp.c
parent55e57050c4a29812ff7758ca4630969a0824cbe0 (diff)
Minor splint fixes
Diffstat (limited to 'bp.c')
-rw-r--r--bp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bp.c b/bp.c
index c9998d7..ec2b180 100644
--- a/bp.c
+++ b/bp.c
@@ -202,9 +202,9 @@ static void cleanup(void)
if (modifying_file && backup_file) {
rewind(modifying_file);
ftruncate(fileno(modifying_file), 0);
- fwrite(backup_file->start, 1,
- (size_t)(backup_file->end - backup_file->start),
- modifying_file);
+ (void)fwrite(backup_file->start, 1,
+ (size_t)(backup_file->end - backup_file->start),
+ modifying_file);
fclose(modifying_file);
modifying_file = NULL;
}