Chore (Windows): silense compiler warnings

This commit is contained in:
李通洲
2025-03-31 10:39:30 +08:00
committed by 李通洲
parent c64cbf57d8
commit 9535b4d480
2 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ const FFSmbiosHeaderTable* ffGetSmbiosHeaderTable()
buffer->SMBIOSMajorVersion, buffer->SMBIOSMinorVersion, buffer->Length);
FF_DEBUG("Parsing SMBIOS table structures");
int structureCount = 0;
FF_MAYBE_UNUSED int structureCount = 0;
for (
const FFSmbiosHeader* header = (const FFSmbiosHeader*) buffer->SMBIOSTableData;
(const uint8_t*) header < buffer->SMBIOSTableData + buffer->Length;