refs #10365. Fix warnings.