quartz: Remove an always true conditional subexpression (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-02-18 00:11:40 +01:00 committed by Alexandre Julliard
parent 73019d5e20
commit 2e54309f39
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ HRESULT WINAPI PullPin_ReceiveConnection(IPin * iface, IPin * pReceivePin, const
props.cbAlign = 1;
props.cbPrefix = 0;
if (SUCCEEDED(hr) && (This->fnQueryAccept(This->pUserData, pmt) != S_OK))
if (This->fnQueryAccept(This->pUserData, pmt) != S_OK)
hr = VFW_E_TYPE_NOT_ACCEPTED; /* FIXME: shouldn't we just map common errors onto
* VFW_E_TYPE_NOT_ACCEPTED and pass the value on otherwise? */