[pad.cpp] Fixed value not used warning