Fixed warning C6031: Return value ignored: 'CLSIDFromString'.

This commit is contained in:
Sam Lantinga committed 2023-12-05 09:31:13 -08:00
1 parent f3b0149756
commit fe6b3ab0b0
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ static void GetMMDeviceInfo(IMMDevice *device, char **utf8dev, WAVEFORMATEXTENSI
}
PropVariantClear(&var);
if (SUCCEEDED(IPropertyStore_GetValue(props, &SDL_PKEY_AudioEndpoint_GUID, &var))) {
CLSIDFromString(var.pwszVal, guid);
(void)CLSIDFromString(var.pwszVal, guid);
}
PropVariantClear(&var);
IPropertyStore_Release(props);