[PATCH] winepulse.drv: Remove redundant comparison.
Andrey Gusev
andrey.goosev at gmail.com
Fri Oct 13 09:15:02 CDT 2017
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/winepulse.drv/mmdevdrv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c
index f6946cec54..50b4188e5e 100644
--- a/dlls/winepulse.drv/mmdevdrv.c
+++ b/dlls/winepulse.drv/mmdevdrv.c
@@ -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;
}
--
2.13.6
More information about the wine-patches
mailing list