Fix warning in non-assert build.