CGE2: Fix some warnings.