Fixed warning C6031: Return value ignored: 'CLSIDFromString'.
This commit is contained in:
@@ -103,7 +103,7 @@ static void GetMMDeviceInfo(IMMDevice *device, char **utf8dev, WAVEFORMATEXTENSI
|
|||||||
}
|
}
|
||||||
PropVariantClear(&var);
|
PropVariantClear(&var);
|
||||||
if (SUCCEEDED(IPropertyStore_GetValue(props, &SDL_PKEY_AudioEndpoint_GUID, &var))) {
|
if (SUCCEEDED(IPropertyStore_GetValue(props, &SDL_PKEY_AudioEndpoint_GUID, &var))) {
|
||||||
CLSIDFromString(var.pwszVal, guid);
|
(void)CLSIDFromString(var.pwszVal, guid);
|
||||||
}
|
}
|
||||||
PropVariantClear(&var);
|
PropVariantClear(&var);
|
||||||
IPropertyStore_Release(props);
|
IPropertyStore_Release(props);
|
||||||
|
|||||||
Reference in New Issue
Block a user