Ensured that the Coverity branch builds test cases as well.
Ensured that the Coverity branch builds test cases as well.
Removed some unreachable, unnecessary code.

This resolves CIDs 76129 and 76130 (Structurally dead code).