remove gcc warning about unused variables