[nut-scanner] Remove unused variable