* [PATCH] erofs-utils: lib: remove shadowed ret variable in compress.c
@ 2026-03-02 12:32 Hardik
0 siblings, 0 replies; only message in thread
From: Hardik @ 2026-03-02 12:32 UTC (permalink / raw)
To: linux-erofs; +Cc: hsiangkao
Signed-off-by: Hardik <hardikkumarpro0005@gmail.com>
---
lib/compress.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/compress.c b/lib/compress.c
index 4a0d890..7196fc2 100644
--- a/lib/compress.c
+++ b/lib/compress.c
@@ -1277,7 +1277,6 @@ int z_erofs_compress_segment(struct z_erofs_compress_sctx *ctx,
while (ctx->remaining) {
const u64 rx = min_t(u64, ctx->remaining,
Z_EROFS_COMPR_QUEUE_SZ - ctx->tail);
- int ret;
ret = (offset == -1 ?
erofs_io_read(vf, ctx->queue + ctx->tail, rx) :
--
2.53.0.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-02 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 12:32 [PATCH] erofs-utils: lib: remove shadowed ret variable in compress.c Hardik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox