[main_ai] Removes compilation warnings