Module: wine Branch: master Commit: 37d8f36de6c131729da114deed04f83b7cd09c26 URL: http://source.winehq.org/git/wine.git/?a=commit;h=37d8f36de6c131729da114deed...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Feb 15 10:52:26 2017 +0100
strmbase: Remove an always true if condition (coccinellery).
Signed-off-by: Michael Stefaniuc mstefani@redhat.de Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/strmbase/video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/strmbase/video.c b/dlls/strmbase/video.c index 0f05d63..a03ba55 100644 --- a/dlls/strmbase/video.c +++ b/dlls/strmbase/video.c @@ -569,8 +569,7 @@ HRESULT WINAPI BaseControlVideoImpl_GetVideoPaletteEntries(IBasicVideo *iface, L if (!pRetrieved || !pPalette) return E_POINTER;
- if (pRetrieved) - *pRetrieved = 0; + *pRetrieved = 0; return VFW_E_NO_PALETTE_AVAILABLE; }