Eliminate some warnings.  Refs #6017.