diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-22 22:02:22 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-22 22:02:22 -0700 |
| commit | 315aedc7cb9fbf642c9c3e5b076fc87c5859e847 (patch) | |
| tree | 617c08167378a4d7bfc67f090ef3447371f293e0 /bp.c | |
| parent | 55e57050c4a29812ff7758ca4630969a0824cbe0 (diff) | |
Minor splint fixes
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |
