Alexandre Julliard : oleaut32: Fix scope of a local array variable.
Alexandre Julliard
julliard at winehq.org
Thu Oct 31 17:39:28 CDT 2019
Module: wine
Branch: master
Commit: 27e976c4fbdb6c5e3aa41b9a5f879b4a359beeee
URL: https://source.winehq.org/git/wine.git/?a=commit;h=27e976c4fbdb6c5e3aa41b9a5f879b4a359beeee
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Oct 31 16:30:29 2019 +0100
oleaut32: Fix scope of a local array variable.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/typelib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index d652edc7ee..1971a41570 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -7242,6 +7242,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
UINT cNamedArgs = pDispParams->cNamedArgs;
DISPID *rgdispidNamedArgs = pDispParams->rgdispidNamedArgs;
UINT vargs_converted=0;
+ SAFEARRAY *a;
hres = S_OK;
@@ -7363,7 +7364,6 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
}
else if ((rgvt[i] == (VT_VARIANT | VT_ARRAY) || rgvt[i] == (VT_VARIANT | VT_ARRAY | VT_BYREF)) && func_desc->cParamsOpt < 0)
{
- SAFEARRAY *a;
SAFEARRAYBOUND bound;
VARIANT *v;
LONG j;
More information about the wine-cvs
mailing list