refs #6381. Fix warnings.