From 3dcbc1c965d11e5da03bbe4d12c706fab34b9ff6 Mon Sep 17 00:00:00 2001 From: Gao Xiang Date: Sun, 6 Apr 2025 02:57:05 +0800 Subject: [PATCH] erofs-utils: lib: drop unused `ret` assignment Coverity-id: 548921 Signed-off-by: Gao Xiang Link: https://lore.kernel.org/r/20250405185707.3202298-2-hsiangkao@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.34.1