Module: wine Branch: master Commit: 390814202852bc6c6db0e39c42ee6abd3121805a URL: https://source.winehq.org/git/wine.git/?a=commit;h=390814202852bc6c6db0e39c4...
Author: Michael Stefaniuc mstefani@winehq.org Date: Fri Mar 8 21:16:52 2019 +0100
shell32: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/shell32/recyclebin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c index 0d80e63..49e7f5d 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -431,8 +431,7 @@ static HRESULT WINAPI RecycleBin_EnumObjects(IShellFolder2 *iface, HWND hwnd, SH return S_OK;
failed: - if (list) - IEnumIDList_Release(&list->IEnumIDList_iface); + IEnumIDList_Release(&list->IEnumIDList_iface); for (; i<pidls_count; i++) ILFree(pidls[i]); SHFree(pidls);