Coverity-id: 548921
Signed-off-by: Gao Xiang <hsiang...@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


Reply via email to