refs #7664. Fix warnings