-
Notifications
You must be signed in to change notification settings - Fork 782
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
Enables pedantic warnings and 'treat warnings as errors'. #62
Conversation
@WilliamDenniss I can't see what the bitrise error is. Can you tell me? |
Reviewed 12 of 12 files at r1. Source/iOS/OIDAuthorizationUICoordinatorIOS.h, line 37 at r1 (raw file):
This slash is a Doxygen macro that will like out to Apple's docs. Did you intend to remove it? Comments from Reviewable |
Errors from bitrise:
|
Wonderful! Thank you! On it... Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. Source/iOS/OIDAuthorizationUICoordinatorIOS.h, line 37 at r1 (raw file): Previously, WilliamDenniss (William Denniss) wrote…> This slash is a Doxygen macro that will like out to Apple's docs. Did you intend to remove it?Comments from Reviewable |
Review status: 10 of 24 files reviewed at latest revision, 1 unresolved discussion. Source/iOS/OIDAuthorizationUICoordinatorIOS.h, line 37 at r1 (raw file): Previously, StevenEWright (Steven E Wright) wrote…
Done. Comments from Reviewable |
Bitrise shows 1 error:
|
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
==========================================
- Coverage 76.35% 76.16% -0.19%
==========================================
Files 39 33 -6
Lines 2360 1972 -388
Branches 123 107 -16
==========================================
- Hits 1802 1502 -300
+ Misses 501 426 -75
+ Partials 57 44 -13
Continue to review full report at Codecov.
|
#245 is a rebase of this PR with additional fixes. |
@@ -283,7 +282,7 @@ - (BOOL)isAuthorized { | |||
- (void)updateWithAuthorizationResponse:(nullable OIDAuthorizationResponse *)authorizationResponse | |||
error:(nullable NSError *)error { | |||
// If the error is an OAuth authorization error, updates the state. Other errors are ignored. | |||
if (error.domain == OIDOAuthAuthorizationErrorDomain) { | |||
if (error && error.domain == OIDOAuthAuthorizationErrorDomain) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nil check added here
This change is