Nikolay Sivov : ole32: Remove unused field.

Alexandre Julliard julliard at winehq.org
Mon Apr 20 15:48:19 CDT 2020


Module: wine
Branch: master
Commit: 7c4106aa892ff93eff90b32f6f048d8cd379e0bf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7c4106aa892ff93eff90b32f6f048d8cd379e0bf

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Apr 20 10:59:21 2020 +0300

ole32: Remove unused field.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/ifs.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/ole32/ifs.c b/dlls/ole32/ifs.c
index 96977fc751..62007800e3 100644
--- a/dlls/ole32/ifs.c
+++ b/dlls/ole32/ifs.c
@@ -49,7 +49,6 @@ static const IMallocVtbl VT_IMalloc32;
 
 typedef struct {
         IMalloc IMalloc_iface;
-        DWORD dummy;                /* nothing, we are static */
 	IMallocSpy * pSpy;          /* the spy when active */
 	DWORD SpyedAllocationsLeft; /* number of spyed allocations left */
 	BOOL SpyReleasePending;     /* CoRevokeMallocSpy called with spyed allocations left*/
@@ -58,7 +57,7 @@ typedef struct {
 } _Malloc32;
 
 /* this is the static object instance */
-static _Malloc32 Malloc32 = {{&VT_IMalloc32}, 0, NULL, 0, 0, NULL, 0};
+static _Malloc32 Malloc32 = {{&VT_IMalloc32}, NULL, 0, 0, NULL, 0};
 
 /* with a spy active all calls from pre to post methods are threadsafe */
 static CRITICAL_SECTION IMalloc32_SpyCS;




More information about the wine-cvs mailing list