Skip to content

Commit 1836823

Browse files
committed
Add default value, just cause we do elsewhere.
1 parent fa0a844 commit 1836823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/BranchSDK/BNCKeyChain.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ + (NSError*) removeValuesForService:(NSString *)service key:(NSString *)key {
150150
// The security access group string is prefixed with the Apple Developer Team ID
151151
+ (NSString * _Nullable)securityAccessGroup {
152152
static NSString *_securityAccessGroup = nil;
153-
static dispatch_once_t onceToken;
153+
static dispatch_once_t onceToken = 0;
154154
dispatch_once(&onceToken, ^{
155155

156156
// The keychain cannot be empty prior to requesting the security access group string. Add a tmp variable.

0 commit comments

Comments
 (0)