Commit 1ff87a65 authored by Sven Baars's avatar Sven Baars Committed by Michael Stefaniuc

setupapi: Add a missing return statement (Coverity).

Signed-off-by: 's avatarSven Baars <sven.wine@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org> (cherry picked from commit afe83a7b) Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org>
parent fc0f5548
......@@ -2496,6 +2496,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)
{
......
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