Commit afe83a7b authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

setupapi: Add a missing return statement (Coverity).

parent 816d944c
...@@ -2585,6 +2585,7 @@ HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW(HDEVINFO devinfo, ...@@ -2585,6 +2585,7 @@ HKEY WINAPI SetupDiCreateDeviceInterfaceRegKeyW(HDEVINFO devinfo,
devinfo, iface_data, reserved, access, hinf, debugstr_w(section)); devinfo, iface_data, reserved, access, hinf, debugstr_w(section));
if (!(iface = get_device_iface(devinfo, iface_data))) if (!(iface = get_device_iface(devinfo, iface_data)))
return INVALID_HANDLE_VALUE;
if (hinf && !section) if (hinf && !section)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment