fix compiler warning

remove unused variable