Windows: silense some warnings

This commit is contained in:
李通洲
2023-01-25 17:25:05 +08:00
parent dd9047c4e9
commit aa36a83182
3 changed files with 12 additions and 1 deletions
@@ -3,6 +3,9 @@
#include <bluetoothapis.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-sign"
void ffDetectBluetoothImpl(FF_MAYBE_UNUSED const FFinstance* instance, FFBluetoothResult* bluetooth)
{
BLUETOOTH_DEVICE_SEARCH_PARAMS btsp = {
@@ -107,3 +110,5 @@ void ffDetectBluetoothImpl(FF_MAYBE_UNUSED const FFinstance* instance, FFBluetoo
}
} while (BluetoothFindNextDevice(hFind, &btdi));
}
#pragma GCC diagnostic pop