Core/EventAI: Shut up compiler warnings