Removed some cpp check error. Refs #8518.