Andrey Gusev : winepulse.drv: Remove redundant comparison.
Alexandre Julliard
julliard at winehq.org
Tue Oct 17 15:12:10 CDT 2017
Module: wine
Branch: master
Commit: d9131acb895bc777379e92bb843a7a41d62c5226
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d9131acb895bc777379e92bb843a7a41d62c5226
Author: Andrey Gusev <andrey.goosev at gmail.com>
Date: Fri Oct 13 17:15:02 2017 +0300
winepulse.drv: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 f6946ce..50b4188 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;
}
More information about the wine-cvs
mailing list