From 85fc5a3ae910f371f025a5bd2ce482840f62152d Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 31 Oct 2011 21:19:33 +0000 Subject: [PATCH] ole32: Remove unneeded address-of operators from array names. --- dlls/ole32/storage32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 69a00cd5917..f279ee584ff 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -1302,7 +1302,7 @@ static HRESULT StorageImpl_CreateDirEntry( * memset the empty entry in order to initialize the unused newly * created entries */ - memset(&emptyData, 0, RAW_DIRENTRY_SIZE); + memset(emptyData, 0, RAW_DIRENTRY_SIZE); /* * initialize them @@ -1347,7 +1347,7 @@ static HRESULT StorageImpl_DestroyDirEntry( BYTE emptyData[RAW_DIRENTRY_SIZE]; StorageImpl *storage = (StorageImpl*)base; - memset(&emptyData, 0, RAW_DIRENTRY_SIZE); + memset(emptyData, 0, RAW_DIRENTRY_SIZE); hr = StorageImpl_WriteRawDirEntry(storage, index, emptyData); -- 2.11.4.GIT