Skip to content

Commit 05cb315

Browse files
authoredSep 9, 2019
Merge pull request swiftlang#2502 from mwyman/master
Fix non-static dispatch_once_t predicate in CFString.c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎CoreFoundation/String.subproj/CFString.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static void __CFRecordStringAllocationEvent(const char *encoding, const char *by
6666

6767
__CFLock(&lock);
6868
static int fd = -1;
69-
dispatch_once_t pred;
69+
static dispatch_once_t pred;
7070

7171
dispatch_once(&pred, ^{
7272
const char *name = *_NSGetProgname();

0 commit comments

Comments
 (0)
Please sign in to comment.