CGE2: remove useless code related to boolean values