PetScan::extract_for: remove unused variable