Module: wine Branch: master Commit: 85fc5a3ae910f371f025a5bd2ce482840f62152d URL: http://source.winehq.org/git/wine.git/?a=commit;h=85fc5a3ae910f371f025a5bd2c... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Mon Oct 31 21:19:33 2011 +0000 ole32: Remove unneeded address-of operators from array names. --- dlls/ole32/storage32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 69a00cd..f279ee5 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);