Skip to content

Commit b211fac

Browse files
committed
Fix minor xcodebuild warnings
1 parent 8ae632e commit b211fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Pod/Classes/MapViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ open class MapViewController: UIViewController {
293293
guard mapItems != self.resultsViewController.mapItems else { return }
294294
self.resultsViewController.mapItems = mapItems
295295
if self.isRedoingSearch {
296-
self.updateAnnotations()
296+
let _ = self.updateAnnotations()
297297
self.mapIndicator.stopAnimating()
298298
}
299299
self.search = nil
@@ -545,7 +545,7 @@ extension MapViewController: MKMapViewDelegate {
545545
}
546546

547547
open func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView) {
548-
guard let view = view as? MKPinAnnotationView else { return }
548+
guard view is MKPinAnnotationView else { return }
549549
guard !isDeferringSelection else { return }
550550
zoomOut(animated: true)
551551
}

0 commit comments

Comments
 (0)