remove unused var in LineSegmentDetectorImpl::compareSegments()