go vet: remove unreachable code