Module: wine Branch: master Commit: a3b7030ee85a03e684279067f42a8b85c019db77 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a3b7030ee85a03e684279067f4...
Author: Alam Arias Alam.GBC@gmail.com Date: Thu May 8 20:22:03 2008 -0400
include: Modify UNREFERENCED macros to cast to void.
---
include/winnt.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/winnt.h b/include/winnt.h index 96ed387..9d6e05d 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -1470,9 +1470,9 @@ typedef CONTEXT *PCONTEXT; #define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT)) #define LOCALE_NEUTRAL (MAKELCID(MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),SORT_DEFAULT))
-#define UNREFERENCED_PARAMETER(u) (u) -#define DBG_UNREFERENCED_PARAMETER(u) (u) -#define DBG_UNREFERENCED_LOCAL_VARIABLE(u) (u) +#define UNREFERENCED_PARAMETER(u) (void)(u) +#define DBG_UNREFERENCED_PARAMETER(u) (void)(u) +#define DBG_UNREFERENCED_LOCAL_VARIABLE(u) (void)(u)
#define LANG_NEUTRAL 0x00 #define LANG_INVARIANT 0x7f