[PATCH] oleaut32: IPropertyBag_Read_Proxy return on unknown type (Coverity 892)
Marcus Meissner
marcus at jet.franken.de
Sat Apr 4 11:15:16 CDT 2009
Hi,
Do not break on unknown V_VT() types, but return E_NOTIMPL and FIXME().
Ciao, Marcus
---
dlls/oleaut32/usrmarshal.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c
index a119c28..14c655c 100644
--- a/dlls/oleaut32/usrmarshal.c
+++ b/dlls/oleaut32/usrmarshal.c
@@ -2041,7 +2041,8 @@ HRESULT CALLBACK IPropertyBag_Read_Proxy(
FIXME("Safearray support not yet implemented.\n");
return E_NOTIMPL;
default:
- break;
+ FIXME("Unknown V_VT %d - support not yet implemented.\n", V_VT(pVar));
+ return E_NOTIMPL;
}
return IPropertyBag_RemoteRead_Proxy(This, pszPropName, pVar, pErrorLog,
--
1.5.6
More information about the wine-patches
mailing list