Remove code path which cannot be executed.