Commit d9131acb authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

winepulse.drv: Remove redundant comparison.

parent 86aad731
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment