Remove impossible to reach code branches