Author: akhaldi
Date: Fri Jan 18 15:52:10 2013
New Revision: 58188
URL:
http://svn.reactos.org/svn/reactos?rev=58188&view=rev
Log:
[SETUPAPI]
* Don't check the return twice here.
Modified:
trunk/reactos/dll/win32/setupapi/install.c
Modified: trunk/reactos/dll/win32/setupapi/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] Fri Jan 18 15:52:10 2013
@@ -1060,8 +1060,7 @@
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))