[SHELLFIND] Remove unnecessary cast
[reactos.git] / dll / win32 / browseui / shellfind / CFindFolder.cpp
index b47062a..4d3deae 100644 (file)
@@ -107,7 +107,7 @@ CFindFolder::CFindFolder() :
 static LPITEMIDLIST _ILCreate(LPCWSTR lpszPath)
 {
     CComHeapPtr<ITEMIDLIST> lpFSPidl(ILCreateFromPathW(lpszPath));
-    if (!(LPITEMIDLIST)lpFSPidl)
+    if (!lpFSPidl)
     {
         ERR("Failed to create pidl from path\n");
         return 0;