[PATCH] oleaut32: In userdefined_to_variantvt remove unneeded statement (cppcheck)
Fabian Maurer
dark.shadow4 at web.de
Tue Oct 3 10:40:22 CDT 2017
The statement doesn't do anything and can be removed.
Found by cppcheck.
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
dlls/oleaut32/typelib.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 311cca3352..ebf6d8526b 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -6453,7 +6453,6 @@ static HRESULT userdefined_to_variantvt(ITypeInfo *tinfo, const TYPEDESC *tdesc,
break;
case TKIND_ALIAS:
- tdesc = &tattr->tdescAlias;
hr = typedescvt_to_variantvt(tinfo2, &tattr->tdescAlias, vt);
break;
--
2.14.2
More information about the wine-patches
mailing list