Global: replaces NULL to nullptr

This commit is contained in:
李通洲 committed 2026-07-10 18:10:09 +08:00
1 parent 873454191f
commit ba18705d2e
387 files changed
+2411 -2411

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ const char* ffDetectBios(FFBiosResult* bios) {
return "IODeviceTree:/rom not found";
}
FF_CFTYPE_AUTO_RELEASE CFMutableDictionaryRef deviceRomProps = NULL;
FF_CFTYPE_AUTO_RELEASE CFMutableDictionaryRef deviceRomProps = nullptr;
if (IORegistryEntryCreateCFProperties(deviceRom, &deviceRomProps, kCFAllocatorDefault, kNilOptions) != kIOReturnSuccess) {
return "IORegistryEntryCreateCFProperties(deviceRom) failed";
}
@@ -54,5 +54,5 @@ const char* ffDetectBios(FFBiosResult* bios) {
}
#endif
return NULL;
return nullptr;
}