Rob Shearman : oleaut32: Fix local variable shadowing in OLEFontImpl_Invoke .
Alexandre Julliard
julliard at winehq.org
Thu Feb 28 06:21:18 CST 2008
Module: wine
Branch: master
Commit: ed9c7396fa3def40dcd3dc664482c4c4f1969173
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed9c7396fa3def40dcd3dc664482c4c4f1969173
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Feb 27 16:48:07 2008 +0000
oleaut32: Fix local variable shadowing in OLEFontImpl_Invoke.
---
dlls/oleaut32/olefont.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
index fb7b40b..b8e4ee2 100644
--- a/dlls/oleaut32/olefont.c
+++ b/dlls/oleaut32/olefont.c
@@ -1377,7 +1377,6 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
return hr;
} else {
VARIANTARG vararg;
- HRESULT hr;
VariantInit(&vararg);
hr = VariantChangeTypeEx(&vararg, &pDispParams->rgvarg[0], lcid, 0, VT_BOOL);
@@ -1399,7 +1398,6 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
return hr;
} else {
VARIANTARG vararg;
- HRESULT hr;
VariantInit(&vararg);
hr = VariantChangeTypeEx(&vararg, &pDispParams->rgvarg[0], lcid, 0, VT_BOOL);
@@ -1421,7 +1419,6 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
return hr;
} else {
VARIANTARG vararg;
- HRESULT hr;
VariantInit(&vararg);
hr = VariantChangeTypeEx(&vararg, &pDispParams->rgvarg[0], lcid, 0, VT_BOOL);
@@ -1440,7 +1437,6 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
return OLEFontImpl_get_Size((IFont *)this, &V_CY(pVarResult));
} else {
VARIANTARG vararg;
- HRESULT hr;
VariantInit(&vararg);
hr = VariantChangeTypeEx(&vararg, &pDispParams->rgvarg[0], lcid, 0, VT_CY);
@@ -1459,7 +1455,6 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
return OLEFontImpl_get_Weight((IFont *)this, &V_I2(pVarResult));
} else {
VARIANTARG vararg;
- HRESULT hr;
VariantInit(&vararg);
hr = VariantChangeTypeEx(&vararg, &pDispParams->rgvarg[0], lcid, 0, VT_I2);
@@ -1478,7 +1473,6 @@ static HRESULT WINAPI OLEFontImpl_Invoke(
return OLEFontImpl_get_Charset((IFont *)this, &V_I2(pVarResult));
} else {
VARIANTARG vararg;
- HRESULT hr;
VariantInit(&vararg);
hr = VariantChangeTypeEx(&vararg, &pDispParams->rgvarg[0], lcid, 0, VT_I2);
More information about the wine-cvs
mailing list