[SETUPAPI]

* Don't check the return twice here.

svn path=/trunk/; revision=58188
This commit is contained in:
Amine Khaldi 2013-01-18 15:52:10 +00:00
parent 8c365a1421
commit b0376fc9fa

View file

@ -1060,8 +1060,7 @@ profile_items_callback(
if (SUCCEEDED(hr))
{
/* Fill link properties */
if (SUCCEEDED(hr))
hr = IShellLinkW_SetPath(psl, FullFileName);
hr = IShellLinkW_SetPath(psl, FullFileName);
if (SUCCEEDED(hr))
hr = IShellLinkW_SetArguments(psl, L"");
if (SUCCEEDED(hr))