HomeFreeBSD

Fix unreachable code in zstreamdump

Description

Fix unreachable code in zstreamdump

82226e4f44baa3f7c3101caaaf941927aa318e46 was intended to prevent a
warning from being printed in situations where it was inappropriate, but
accidentally disabled it entirely by setting featureflags in the wrong
case statement.

Coverity reported this as dead code.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13946

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Sep 29 2022, 5:16 PM
Tony Hutter <hutter2@llnl.gov>Committed on Dec 1 2022, 8:39 PM
Parents
rG531361114bb6: PAM: Fix uninitialized value read
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGd4df36de5da0: Fix unreachable code in zstreamdump (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Dec 1 2022, 8:39 PM