shell32: Check return value of SHGetSpecialFolderPathW (Coverity).
This commit is contained in:
parent
0f4c2f9a8c
commit
4413e00eca
|
@ -332,7 +332,7 @@ static BOOL CreateDesktopEnumList(IEnumIDListImpl *list, DWORD dwFlags)
|
|||
}
|
||||
|
||||
/* enumerate the elements in %windir%\desktop */
|
||||
SHGetSpecialFolderPathW(0, szPath, CSIDL_DESKTOPDIRECTORY, FALSE);
|
||||
ret = ret && SHGetSpecialFolderPathW(0, szPath, CSIDL_DESKTOPDIRECTORY, FALSE);
|
||||
ret = ret && CreateFolderEnumList(list, szPath, dwFlags);
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue