Fixed a missing warning.