mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Smbios: silence compiler warnings
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "smbiosHelper.h"
|
||||
#include "common/io/io.h"
|
||||
#include "util/unused.h"
|
||||
|
||||
bool ffIsSmbiosValueSet(FFstrbuf* value)
|
||||
{
|
||||
@@ -82,7 +83,7 @@ const FFSmbiosHeaderTable* ffGetSmbiosHeaderTable()
|
||||
assert(bufSize > sizeof(FFRawSmbiosData));
|
||||
buffer = (FFRawSmbiosData*) malloc(bufSize);
|
||||
assert(buffer);
|
||||
uint32_t resultSize = GetSystemFirmwareTable(signature, 0, buffer, bufSize);
|
||||
FF_MAYBE_UNUSED uint32_t resultSize = GetSystemFirmwareTable(signature, 0, buffer, bufSize);
|
||||
assert(resultSize == bufSize);
|
||||
|
||||
for (
|
||||
|
||||
Reference in New Issue
Block a user