shlwapi: Add missing braces (Coverity).

This commit is contained in:
Marcus Meissner 2015-06-13 07:49:23 +02:00 committed by Alexandre Julliard
parent 7fa7e9bd3b
commit a2869de4d4
1 changed files with 2 additions and 0 deletions

View File

@ -1407,9 +1407,11 @@ HRESULT WINAPI IUnknown_GetClassID(IUnknown *lpUnknown, CLSID *clsid)
hr = IUnknown_QueryInterface(lpUnknown, &IID_IPersist, (void**)&persist);
if (hr != S_OK)
{
hr = IUnknown_QueryInterface(lpUnknown, &IID_IPersistFolder, (void**)&persist);
if (hr != S_OK)
return hr;
}
hr = IPersist_GetClassID(persist, clsid);
IPersist_Release(persist);