[PATCH] oledb32: Remove redundant not-NULL check (coccinellery)
Feb. 21, 2019
1:35 p.m.
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- return E_POINTER if cookie is NULL 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 46904d3da5..c922f93f90 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; } -- 2.20.1
2590
Age (days ago)
2590
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Stefaniuc