=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ole32: Remove unused macros.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 23 09:04:43 CST 2015
Module: wine
Branch: master
Commit: 8af03fef9a298df6140a012466d0e8a76dcd0b03
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8af03fef9a298df6140a012466d0e8a76dcd0b03
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Feb 21 14:58:33 2015 +0100
ole32: Remove unused macros.
---
dlls/ole32/clipboard.c | 2 --
dlls/ole32/filelockbytes.c | 4 ----
dlls/ole32/ole2impl.c | 2 --
3 files changed, 8 deletions(-)
diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c
index 38df750..d40ee59 100644
--- a/dlls/ole32/clipboard.c
+++ b/dlls/ole32/clipboard.c
@@ -83,8 +83,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(ole);
-#define HANDLE_ERROR(err) do { hr = err; TRACE("(HRESULT=%x)\n", (HRESULT)err); goto CLEANUP; } while (0)
-
/* Structure of 'Ole Private Data' clipboard format */
typedef struct
{
diff --git a/dlls/ole32/filelockbytes.c b/dlls/ole32/filelockbytes.c
index 605b5df..7dc4843 100644
--- a/dlls/ole32/filelockbytes.c
+++ b/dlls/ole32/filelockbytes.c
@@ -65,10 +65,6 @@ static inline FileLockBytesImpl *impl_from_ILockBytes(ILockBytes *iface)
* Prototypes for private methods
*/
-/* Note that this evaluates a and b multiple times, so don't
- * pass expressions with side effects. */
-#define ROUND_UP(a, b) ((((a) + (b) - 1)/(b))*(b))
-
/****************************************************************************
* GetProtectMode
*
diff --git a/dlls/ole32/ole2impl.c b/dlls/ole32/ole2impl.c
index 5d92fec..152132b 100644
--- a/dlls/ole32/ole2impl.c
+++ b/dlls/ole32/ole2impl.c
@@ -36,8 +36,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(ole);
-#define MAX_CLIPFORMAT_NAME 80
-
/******************************************************************************
* OleQueryCreateFromData [OLE32.@]
*
More information about the wine-cvs
mailing list