[PATCH 2/4] erofs-utils: lib: drop unused `ret` assignment
Gao Xiang
hsiangkao at linux.alibaba.com
Sun Apr 6 04:57:05 AEST 2025
Coverity-id: 548921
Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
---
lib/compress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/compress.c b/lib/compress.c
index 4b966d8..bff0e0b 100644
--- a/lib/compress.c
+++ b/lib/compress.c
@@ -1202,7 +1202,7 @@ int erofs_commit_compressed_file(struct z_erofs_compress_ictx *ictx,
}
if (ptotal) {
- ret = erofs_bh_balloon(bh, ptotal);
+ (void)erofs_bh_balloon(bh, ptotal);
} else {
if (!cfg.c_fragments && !cfg.c_dedupe)
DBG_BUGON(!inode->idata_size);
--
2.43.5
More information about the Linux-erofs
mailing list