shlwapi: Add missing braces (Coverity).
This commit is contained in:
parent
7fa7e9bd3b
commit
a2869de4d4
|
@ -1407,9 +1407,11 @@ HRESULT WINAPI IUnknown_GetClassID(IUnknown *lpUnknown, CLSID *clsid)
|
||||||
|
|
||||||
hr = IUnknown_QueryInterface(lpUnknown, &IID_IPersist, (void**)&persist);
|
hr = IUnknown_QueryInterface(lpUnknown, &IID_IPersist, (void**)&persist);
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
|
{
|
||||||
hr = IUnknown_QueryInterface(lpUnknown, &IID_IPersistFolder, (void**)&persist);
|
hr = IUnknown_QueryInterface(lpUnknown, &IID_IPersistFolder, (void**)&persist);
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
return hr;
|
return hr;
|
||||||
|
}
|
||||||
|
|
||||||
hr = IPersist_GetClassID(persist, clsid);
|
hr = IPersist_GetClassID(persist, clsid);
|
||||||
IPersist_Release(persist);
|
IPersist_Release(persist);
|
||||||
|
|
Loading…
Reference in New Issue