Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Fixes for static analyzer warnings #1425

Merged
merged 6 commits into from
May 6, 2015
Merged

Fixes for static analyzer warnings #1425

merged 6 commits into from
May 6, 2015

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 5, 2015

This PR fixes various warnings flagged by Xcode’s static analyzer. Mostly these changes fix leaks, but there is one user-visible change, which is that double-tapping while tracking user location no longer bounces around. See individual commit messages for details.

/cc @kkaefer @bleege

1ec5 added 4 commits May 5, 2015 11:33
Fixed analyzer warnings in http-nsurl target, which is MRR rather than ARC.
These values weren’t being used for anything.
While tracking the user’s location, a double tap not near the user dot now turns off location tracking instead of bouncing between the tapped location and the user location.
@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS performance Speed, stability, CPU usage, memory usage, or power usage labels May 5, 2015
@1ec5 1ec5 added this to the iOS Beta 1 milestone May 5, 2015
@1ec5
Copy link
Contributor Author

1ec5 commented May 5, 2015

Hat tip goes to @kkaefer for remembering to run the static analyzer. I only followed its instructions. 😄

@1ec5
Copy link
Contributor Author

1ec5 commented May 6, 2015

Upstream bugs filed upstream: memononen/libtess2#19 and angusj/polyclipping#134.

1ec5 added a commit that referenced this pull request May 6, 2015
Fixes for static analyzer warnings
@1ec5 1ec5 merged commit 5f21bbb into master May 6, 2015
@1ec5 1ec5 deleted the 1ec5-analyzer branch May 6, 2015 21:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS performance Speed, stability, CPU usage, memory usage, or power usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants