setupapi: Add a missing return statement (Coverity).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
816d944c8f
commit
afe83a7bbe
|
@ -2585,6 +2585,7 @@ HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW(HDEVINFO devinfo,
|
|||
devinfo, iface_data, reserved, access, hinf, debugstr_w(section));
|
||||
|
||||
if (!(iface = get_device_iface(devinfo, iface_data)))
|
||||
return INVALID_HANDLE_VALUE;
|
||||
|
||||
if (hinf && !section)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue