diff options
author | Jason Wray <jason@mapbox.com> | 2017-07-31 16:12:13 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2017-07-31 16:26:38 -0400 |
commit | 9c01cbc537f17f886bce45ce5927bef8a6c50d63 (patch) | |
tree | 5e276726049de2d050f1c48bddc9df188bc86805 | |
parent | aa04438515ddc6cfc3b862964d3ce23131f4d4cf (diff) | |
download | qtlocation-mapboxgl-9c01cbc537f17f886bce45ce5927bef8a6c50d63.tar.gz |
Don't initialize _location to anything at all
No need to explicitly initialize to `nil`.
-rw-r--r-- | platform/ios/src/MGLUserLocation.m | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/ios/src/MGLUserLocation.m b/platform/ios/src/MGLUserLocation.m index 84d2297b6d..1e38689cb3 100644 --- a/platform/ios/src/MGLUserLocation.m +++ b/platform/ios/src/MGLUserLocation.m @@ -19,7 +19,6 @@ NS_ASSUME_NONNULL_END { if (self = [super init]) { - _location = nil; _mapView = mapView; } |