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

@@ -129,7 +129,7 @@ const char* ffDetectPhysicalMemory(FFPhysicalMemoryOptions* options, FFlist* res
}
const char* formFactorNames[] = {
NULL, // 0x00 (Placeholder for indexing)
nullptr, // 0x00 (Placeholder for indexing)
"Other", // 0x01
"Unknown", // 0x02
"SIMM", // 0x03
@@ -157,7 +157,7 @@ const char* ffDetectPhysicalMemory(FFPhysicalMemoryOptions* options, FFlist* res
}
const char* memoryTypeNames[] = {
NULL, // 0x00 (Placeholder for indexing)
nullptr, // 0x00 (Placeholder for indexing)
"Other", // 0x01
"Unknown", // 0x02
"DRAM", // 0x03
@@ -231,5 +231,5 @@ const char* ffDetectPhysicalMemory(FFPhysicalMemoryOptions* options, FFlist* res
}
}
return NULL;
return nullptr;
}