From: Brock Mammen Date: Tue, 27 Aug 2019 13:17:12 +0000 (-0500) Subject: [SHELLFIND] Remove unnecessary cast X-Git-Tag: 0.4.14-dev~88 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=7ac9fd9f51003691aa156e94ea6cafcfb97b5615 [SHELLFIND] Remove unnecessary cast --- 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;