[PATCH] winepulse.drv: Remove redundant comparison.
Andrew Eikum
aeikum at codeweavers.com
Tue Oct 17 08:05:26 CDT 2017
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
On Fri, Oct 13, 2017 at 05:15:02PM +0300, Andrey Gusev wrote:
> 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