clobber pedantic warning about ierr set but not used