We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 558c1d5 commit 51a7663Copy full SHA for 51a7663
CoreFoundation/Base.subproj/CFRuntime.c
@@ -771,7 +771,7 @@ CFTypeRef _CFNonObjCRetain(CFTypeRef cf) {
771
772
CFTypeRef CFRetain(CFTypeRef cf) {
773
if (NULL == cf) { CRSetCrashLogMessage("*** CFRetain() called with NULL ***"); HALT; }
774
- if (cf) __CFGenericAssertIsCF(cf);
+ __CFGenericAssertIsCF(cf);
775
return _CFRetain(cf, false);
776
}
777
@@ -789,7 +789,7 @@ void _CFNonObjCRelease(CFTypeRef cf) {
789
790
void CFRelease(CFTypeRef cf) {
791
if (NULL == cf) { CRSetCrashLogMessage("*** CFRelease() called with NULL ***"); HALT; }
792
793
_CFRelease(cf);
794
795
0 commit comments