Remove dead code found with Clang