Skip to content

Commit 05cb315

Browse files
authored
Merge pull request #2502 from mwyman/master
Fix non-static dispatch_once_t predicate in CFString.c
2 parents c9c34a9 + 99f32dd commit 05cb315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/String.subproj/CFString.c

Lines changed: 1 addition & 1 deletion
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)