Module: wine Branch: master Commit: 45553a97b06be46548b2617818c26544b5dea432 URL: https://source.winehq.org/git/wine.git/?a=commit;h=45553a97b06be46548b261781...
Author: Michael Stefaniuc mstefani@winehq.org Date: Thu Feb 21 20:35:39 2019 +0100
oledb32: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/oledb32/rowpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oledb32/rowpos.c b/dlls/oledb32/rowpos.c index 46904d3..c922f93 100644 --- a/dlls/oledb32/rowpos.c +++ b/dlls/oledb32/rowpos.c @@ -416,7 +416,7 @@ static HRESULT WINAPI rowpos_cp_Advise(IConnectionPoint *iface, IUnknown *unksin }
This->sinks[i] = sink; - if (cookie) *cookie = i + 1; + *cookie = i + 1;
return S_OK; }