include: modify UNREFERENCED marcos to cast to (void)

Alam Arias alam.gbc at gmail.com
Thu May 8 23:34:27 CDT 2008


From ea8fefe21040871f2e8f8e30225576dd0faec277 Mon Sep 17 00:00:00 2001
From: Alam Arias <Alam.GBC at gmail.com>
Date: Thu, 8 May 2008 20:22:03 -0400
Subject: [PATCH] include: modify UNREFERENCED marcos 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
-- 
1.5.5.1.147.g867f

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-include-modify-UNREFERENCED-marcos-to-cast-to-void.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080509/6374672c/attachment.bin 


More information about the wine-patches mailing list