Marcus Meissner : shlwapi: Add missing braces (Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 15 08:49:08 CDT 2015
Module: wine
Branch: master
Commit: a2869de4d40b94e6a4dfdda214ec97e078db0f06
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a2869de4d40b94e6a4dfdda214ec97e078db0f06
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sat Jun 13 07:49:23 2015 +0200
shlwapi: Add missing braces (Coverity).
---
dlls/shlwapi/ordinal.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 68b66e3..df15c40 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -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);
More information about the wine-cvs
mailing list