=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: atl: Fix compiler warnings with flag -Wunused-macros.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Dec 10 15:34:08 CST 2014
Module: wine
Branch: master
Commit: 76c24c80c379106c7417f12b5910700bd431cf78
URL: http://source.winehq.org/git/wine.git/?a=commit;h=76c24c80c379106c7417f12b5910700bd431cf78
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Dec 9 23:30:55 2014 +0100
atl: Fix compiler warnings with flag -Wunused-macros.
---
dlls/atl/atl_ax.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/atl/atl_ax.c b/dlls/atl/atl_ax.c
index 5bafbf1..d7cf074 100644
--- a/dlls/atl/atl_ax.c
+++ b/dlls/atl/atl_ax.c
@@ -1137,7 +1137,6 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
#define GET_DWORD(x) (*(const DWORD *)(x))
#define PUT_BLOCK(x,y) do {if (!advance_array(&output, &allocated, &filled, (x), (y))) return NULL;} while (0)
#define PUT_WORD(x) do {WORD w = (x);PUT_BLOCK(&w, 1);} while(0)
-#define PUT_DWORD(x) do {DWORD w = (x);PUT_BLOCK(&w, 2);} while(0)
const WORD *tmp, *src = (const WORD *)src_tmpl;
WORD *output;
DWORD allocated, filled; /* in WORDs */
More information about the wine-cvs
mailing list