[PATCH] include: modify UNREFERENCED marcos to cast to (void)

Alam Arias Alam.GBC at gmail.com
Thu May 8 19:22:03 CDT 2008


---
 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
-- 
1.5.5.1.147.g867f


--MP_/DFfb5I93.qgFavJiX/hT2tj--



More information about the wine-patches mailing list