stand: remove ZFS warning about computered but unused variable

Toss a __unused on the unexpected_errors variable. We compute it, but
never use it.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-05-01 09:45:41 -06:00
parent cb8179079a
commit 96b119340e

View File

@ -1574,7 +1574,7 @@ vdev_raidz_read(vdev_t *vd, const blkptr_t *bp, void *data,
raidz_map_t *rm;
raidz_col_t *rc;
int c, error;
int unexpected_errors;
int unexpected_errors __unused;
int parity_errors;
int parity_untried;
int data_errors;