1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

winepulse.drv: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2017-10-13 17:15:02 +03:00 committed by Alexandre Julliard
parent 86aad73177
commit d9131acb89

View File

@ -611,7 +611,7 @@ fail:
static HRESULT pulse_stream_valid(ACImpl *This) {
if (!This->stream)
return AUDCLNT_E_NOT_INITIALIZED;
if (!This->stream || pa_stream_get_state(This->stream) != PA_STREAM_READY)
if (pa_stream_get_state(This->stream) != PA_STREAM_READY)
return AUDCLNT_E_DEVICE_INVALIDATED;
return S_OK;
}