Fix warning as error.