fix warning, unused variable
fix #32166