Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Xcode warnings for format, pointer type, unused var #2185

Merged
merged 1 commit into from Apr 16, 2018

Conversation

terribleben
Copy link
Contributor

We noticed these warnings when using this library inside Expo. Changed NULL to 0 for the NSStringCompareOptions flag; cast the NSIntegers to long when using as a string format argument; removed unused variable zoomLevel.

Does any other open PR do the same thing?

Not as far as I can tell.

What issue is this PR fixing?

There are some annoying compiler warnings in Xcode and this makes them go away.

How did you test this PR?

I compiled the lib.

We noticed these warnings when using this library inside Expo. Changed NULL to 0 for the NSStringCompareOptions flag; cast the NSIntegers to long when using as a string format argument; removed unused variable zoomLevel.
@brentvatne brentvatne merged commit 6086621 into react-native-maps:master Apr 16, 2018
@terribleben terribleben deleted the @terribleben/fix-warnings branch April 16, 2018 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants