From: Gao Xiang Date: Sat, 5 Apr 2025 18:57:05 +0000 (+0800) Subject: erofs-utils: lib: drop unused `ret` assignment X-Git-Tag: accepted/tizen/unified/20250610.081809~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dcbc1c965d11e5da03bbe4d12c706fab34b9ff6;p=platform%2Fupstream%2Ferofs-utils.git 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 --- 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);