HomeFreeBSD

ext2fs(4): Fix a null dererence and clean an unclear switch

Description

ext2fs(4): Fix a null dererence and clean an unclear switch

Coverity warned that the switch statement fell through. While this was
intentional, the pattern wasn't especially clear. I just changed it to a
conventional if pattern.

Reported by: Coverity
CIDs: 1375851 (false positive), 1375853
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Parents
rS319557: ext2fs(4): Fix a number of broken flag checks
Branches
Unknown
Tags
Unknown