Merge pull request #4177 from phire/useless_cases BPStructs: remove case statements which never match.