No use checkinf if env is true in the branch where it is false (Coverity CID 1164462).