[NUI] Fix build warnings: delete obsolete warnings