Skip to content

Commit fc6e52e

Browse files
committed
ZLFS: drop the now-unused error local in zlfs_gc_mark_all
The marking body checks read failures inline (return 1) and never assigns error after the extraction from zlfs_clean, so -Werror -Wunused-variable rejected it.
1 parent c0d521d commit fc6e52e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎sys/zlfs/zlfs_alloc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ zlfs_gc_mark_all(struct zlfs_mount *zmp)
221221
u_int64_t *dimap, *lbas;
222222
u_int32_t bsize = zmp->zm_super.zs_block_size;
223223
u_int64_t i, j, ino, lba, nblocks, epb = bsize / sizeof(u_int64_t);
224-
int error;
225224

226225
for (i = 0; i < zmp->zm_nzones; i++)
227226
zmp->zm_zones[i].zst_live_bytes = 0;

0 commit comments

Comments
 (0)