refs #6730. Fix warnings.