CGE2: Remove useless variable declarations