shlwapi: Remove redundant not-NULL check (coccinellery).

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-02-28 00:50:32 +01:00 committed by Alexandre Julliard
parent 556bc03758
commit 500c5d1216
1 changed files with 1 additions and 2 deletions

View File

@ -1527,8 +1527,7 @@ HRESULT WINAPI StrRetToBufW (LPSTRRET src, const ITEMIDLIST *pidl, LPWSTR dest,
if (!src)
{
WARN("Invalid lpStrRet would crash under Win32!\n");
if (dest)
*dest = '\0';
*dest = '\0';
return E_FAIL;
}