msi: automation: remove unnecessary local variable

Misha Koshelev mk144210 at bcm.tmc.edu
Tue Feb 27 23:35:53 CST 2007


This became unnecessary when I had made Robert Shearman's recommended
changes including not using LPVOIDs for functions.

Changelog:

	* msi: automation: remove unnecessary local variable
-------------- next part --------------
From aa05247791aa344a7a88d467e660a04a8e3ae400 Mon Sep 17 00:00:00 2001
From: Misha Koshelev <mk144210 at bcm.tmc.edu>
Date: Tue, 27 Feb 2007 23:27:03 -0600
Subject: msi: automation: remove unnecessary local variable
---
 dlls/msi/automation.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c
index 7377a1f..970f98a 100644
--- a/dlls/msi/automation.c
+++ b/dlls/msi/automation.c
@@ -313,8 +313,6 @@ static HRESULT WINAPI AutomationObject_I
         UINT* puArgErr)
 {
     AutomationObject *This = (AutomationObject *)iface;
-    HRESULT (STDMETHODCALLTYPE *Invoke)(
-        AutomationObject*,DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) = This->funcInvoke;
     HRESULT hr;
     BSTR bstrName = NULL;
 
@@ -348,7 +346,7 @@ static HRESULT WINAPI AutomationObject_I
 	TRACE("Method %d, %s\n", dispIdMember, debugstr_w(bstrName));
     }
 
-    hr = Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
+    hr = this->funcInvoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
 
     if (hr == DISP_E_MEMBERNOTFOUND) {
 	if (bstrName == NULL) ITypeInfo_GetDocumentation(This->iTypeInfo, dispIdMember, &bstrName, NULL, NULL, NULL);
-- 
1.4.1



More information about the wine-patches mailing list