12 Aug
2024
12 Aug
'24
10:11 p.m.
Elizabeth Figura (@zfigura) commented about dlls/shell32/enumobjects.c:
- *obj = NULL; - return E_NOINTERFACE; + *obj = &This->IObjectCollection_iface; }
- IUnknown_AddRef((IUnknown*)*obj); - return S_OK; + if (*obj) + { + IUnknown_AddRef((IUnknown*)*obj); + return S_OK; + } + + FIXME("No interface for %s\n", debugstr_guid(riid)); + + return E_NOINTERFACE; This and other refactorings and whitespace changes should be applied to the patch where the code is introduced.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6130#note_78493