Skip to contentSkip to conversation

erofs-utils: lib: remove shadowed ret variable in compress.c

PATCH New Hardik 1 participant 1 message Mar 2 Library code

lore
Share & tools
lore

Hardik

author
#0 lore raw

PATCH 1/1 erofs-utils: lib: remove shadowed ret variable in compress.c

---
 lib/compress.c | 1 -
 1 file changed, 1 deletion(-)
lib/compress.c +0 -1
index 4a0d890..7196fc2 100644
@@ -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) :
Signature · 1 line
2.53.0.windows.1