From 7ac9fd9f51003691aa156e94ea6cafcfb97b5615 Mon Sep 17 00:00:00 2001 From: Brock Mammen Date: Tue, 27 Aug 2019 08:17:12 -0500 Subject: [PATCH] [SHELLFIND] Remove unnecessary cast --- dll/win32/browseui/shellfind/CFindFolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/browseui/shellfind/CFindFolder.cpp b/dll/win32/browseui/shellfind/CFindFolder.cpp index b47062a714e..4d3deaecbf7 100644 --- a/dll/win32/browseui/shellfind/CFindFolder.cpp +++ b/dll/win32/browseui/shellfind/CFindFolder.cpp @@ -107,7 +107,7 @@ CFindFolder::CFindFolder() : static LPITEMIDLIST _ILCreate(LPCWSTR lpszPath) { CComHeapPtr lpFSPidl(ILCreateFromPathW(lpszPath)); - if (!(LPITEMIDLIST)lpFSPidl) + if (!lpFSPidl) { ERR("Failed to create pidl from path\n"); return 0; -- 2.17.1