From 315aedc7cb9fbf642c9c3e5b076fc87c5859e847 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 22 May 2021 22:02:22 -0700 Subject: Minor splint fixes --- bp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bp.c') 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; } -- cgit v1.2.3