Refs #9473 Fix compiler warning