refs #10208. Fix warnings.