turn off unused-but-set-variable for gcc-4.6