CRM-14731 warning fix