We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d248649 commit 8140f81Copy full SHA for 8140f81
CoreFoundation/Base.subproj/CFRuntime.c
@@ -786,7 +786,7 @@ CFTypeRef _CFNonObjCRetain(CFTypeRef cf) {
786
787
CFTypeRef CFRetain(CFTypeRef cf) {
788
if (NULL == cf) { CRSetCrashLogMessage("*** CFRetain() called with NULL ***"); HALT; }
789
- if (cf) __CFGenericAssertIsCF(cf);
+ __CFGenericAssertIsCF(cf);
790
return _CFRetain(cf, false);
791
}
792
@@ -804,7 +804,7 @@ void _CFNonObjCRelease(CFTypeRef cf) {
804
805
void CFRelease(CFTypeRef cf) {
806
if (NULL == cf) { CRSetCrashLogMessage("*** CFRelease() called with NULL ***"); HALT; }
807
808
_CFRelease(cf);
809
810
0 commit comments