André Hentschel : atl: Fix compiler warnings with flag -Wunused-macros.
Module: wine Branch: master Commit: 76c24c80c379106c7417f12b5910700bd431cf78 URL: http://source.winehq.org/git/wine.git/?a=commit;h=76c24c80c379106c7417f12b59... Author: André Hentschel <nerv(a)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 */
participants (1)
-
Alexandre Julliard