On Sun Jul 13 21:55:54 2025 +0000, Connor McAdams wrote:
else if (IsEqualDevPropKey( *prop_key, DEVPKEY_Device_ContainerId )) ret = get_device_property( device, devinfo, device_data, &DEVPKEY_Device_BaseContainerId, prop_type, buf, buf_size, req_size, flags ); else ret = get_device_reg_property( device->key, prop_key, prop_type, buf, buf_size, req_size, flags ); return ret; }
If we're going to do `return ret;` at the end, might as well set `ret` in the `get_device_property()` case, unless I'm missing something.
Yeah, it's cleaner. Thanks.