Skip to content

Commit 035561e

Browse files
committed
Uses MACH_PORT_NULL instead of 0
1 parent c883439 commit 035561e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/RunLoop.subproj/CFMessagePort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ static CFMessagePortRef __CFMessagePortCreateRemote(CFAllocatorRef allocator, CF
443443
CFMachPortContext ctx;
444444
uint8_t *utfname = NULL;
445445
CFIndex size;
446-
mach_port_t port = 0;
446+
mach_port_t port = MACH_PORT_NULL;
447447

448448
CFStringRef const name = __CFMessagePortCreateSanitizedStringName(inName, &utfname, NULL);
449449
if (NULL == name) {

0 commit comments

Comments
 (0)