return correct value in SETUPAPI_GetCurrentHwProfile

Fix for Coverity error CID: 782

svn path=/trunk/; revision=36434
This commit is contained in:
Christoph von Wittich 2008-09-23 18:44:58 +00:00
parent 931c14a8ea
commit b13cfee486

View file

@ -4592,7 +4592,7 @@ cleanup:
if (hKey != NULL)
RegCloseKey(hKey);
return hwProfile;
return ret;
}
static BOOL