From: Hardik <hardikkumarpro0005@gmail.com>
To: linux-erofs@lists.ozlabs.org
Cc: hsiangkao@linux.alibaba.com
Subject: [PATCH] erofs-utils: lib: remove shadowed ret variable in compress.c
Date: Mon, 2 Mar 2026 18:02:01 +0530 [thread overview]
Message-ID: <20260302123201.1041-1-hardikkumarpro0005@gmail.com> (raw)
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
reply other threads:[~2026-03-02 12:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260302123201.1041-1-hardikkumarpro0005@gmail.com \
--to=hardikkumarpro0005@gmail.com \
--cc=hsiangkao@linux.alibaba.com \
--cc=linux-erofs@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox