[SHELLFIND] Remove unnecessary cast

This commit is contained in:
Brock Mammen 2019-08-27 08:17:12 -05:00 committed by Giannis Adamopoulos
parent 0eee3ed368
commit 7ac9fd9f51

View 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;