diff --git a/reactos/dll/win32/setupapi/install.c b/reactos/dll/win32/setupapi/install.c index cc47900bde3..fbf159f601f 100644 --- a/reactos/dll/win32/setupapi/install.c +++ b/reactos/dll/win32/setupapi/install.c @@ -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))