Connor McAdams (@cmcadams) commented about dlls/setupapi/devinst.c:
ret = GetLastError();
else if (buf_size >= sizeof( GUID ))
{
if (guid_str[0] == '{' && guid_str[37] == '}')
{
guid_str[37] = 0;
UuidFromStringW( &guid_str[1], (GUID *)buf );
}
else
ERR("Invalid GUID string: %s\n", debugstr_w( guid_str ));
}
else
ret = ERROR_INSUFFICIENT_BUFFER;
}
else if (!SetupDiGetDeviceRegistryPropertyW( devinfo, device_data, reg_prop, NULL, buf, buf_size, &size ))
ret = GetLastError();
```suggestion:-0+0 ret = GetLastError(); ``` Fix the indentation here please. :)