Author: cwittich
Date: Tue Sep 23 13:44:58 2008
New Revision: 36434
URL:
http://svn.reactos.org/svn/reactos?rev=36434&view=rev
Log:
return correct value in SETUPAPI_GetCurrentHwProfile
Fix for Coverity error CID: 782
Modified:
trunk/reactos/dll/win32/setupapi/devinst.c
Modified: trunk/reactos/dll/win32/setupapi/devinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/devinst…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/devinst.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/devinst.c [iso-8859-1] Tue Sep 23 13:44:58 2008
@@ -4592,7 +4592,7 @@
if (hKey != NULL)
RegCloseKey(hKey);
- return hwProfile;
+ return ret;
}
static BOOL