aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth
diff options
context:
space:
mode:
Diffstat (limited to 'Firebase/Auth')
-rw-r--r--Firebase/Auth/Source/FIRAuth.m2
-rw-r--r--Firebase/Auth/Source/FIRAuthGlobalWorkQueue.h2
-rw-r--r--Firebase/Auth/Source/FIRAuthURLPresenter.m2
3 files changed, 3 insertions, 3 deletions
diff --git a/Firebase/Auth/Source/FIRAuth.m b/Firebase/Auth/Source/FIRAuth.m
index 7b36ac6..6c349a1 100644
--- a/Firebase/Auth/Source/FIRAuth.m
+++ b/Firebase/Auth/Source/FIRAuth.m
@@ -892,7 +892,7 @@ static NSMutableDictionary *gKeychainServiceNameForAppName;
});
}
-- (BOOL)signOut:(NSError *_Nullable *_Nullable)error {
+- (BOOL)signOut:(NSError *_Nullable __autoreleasing *_Nullable)error {
__block BOOL result = YES;
dispatch_sync(FIRAuthGlobalWorkQueue(), ^{
if (!_currentUser) {
diff --git a/Firebase/Auth/Source/FIRAuthGlobalWorkQueue.h b/Firebase/Auth/Source/FIRAuthGlobalWorkQueue.h
index 0950ff4..55bb1a7 100644
--- a/Firebase/Auth/Source/FIRAuthGlobalWorkQueue.h
+++ b/Firebase/Auth/Source/FIRAuthGlobalWorkQueue.h
@@ -26,6 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
implementations that may involve contested code shall dispatch to this work queue as the
first thing they do.
*/
-extern dispatch_queue_t FIRAuthGlobalWorkQueue();
+extern dispatch_queue_t FIRAuthGlobalWorkQueue(void);
NS_ASSUME_NONNULL_END
diff --git a/Firebase/Auth/Source/FIRAuthURLPresenter.m b/Firebase/Auth/Source/FIRAuthURLPresenter.m
index 9e24805..919aee1 100644
--- a/Firebase/Auth/Source/FIRAuthURLPresenter.m
+++ b/Firebase/Auth/Source/FIRAuthURLPresenter.m
@@ -157,7 +157,7 @@ NS_ASSUME_NONNULL_BEGIN
_UIDelegate = nil;
FIRAuthURLPresentationCompletion completion = _completion;
_completion = nil;
- void (^finishBlock)() = ^() {
+ void (^finishBlock)(void) = ^() {
_isPresenting = NO;
completion(URL, error);
};