aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2022-08-13 23:46:06 -0400
committerTheodore Ts'o <tytso@mit.edu>2022-08-13 23:46:06 -0400
commitdc79c2ad59bde8918b0cc1d53f65119fcfdbb7b4 (patch)
tree97d3a7a42f46449f71dfae01c57287fd3898ac7b
parentb84eee32d54b20679b27cdff231cd72619e4cc44 (diff)
downloade2fsprogs-dc79c2ad59bde8918b0cc1d53f65119fcfdbb7b4.tar.gz
e2image: checking the retval for the last update_refcount() is unnecessary
Addresses-Coverity-Bug: 709478 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--misc/e2image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/e2image.c b/misc/e2image.c
index f9357aa0c..8b4c0677a 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -1263,7 +1263,7 @@ static void output_qcow2_meta_data_blocks(ext2_filsys fs, int fd)
offset += img->cluster_size;
}
}
- update_refcount(fd, img, offset, offset);
+ (void) update_refcount(fd, img, offset, offset);
flush_l2_cache(img);
sync_refcount(fd, img);