Commit a2869de4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

shlwapi: Add missing braces (Coverity).

parent 7fa7e9bd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment