=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll/tests: Get rid of " defined but not used" warnings on non-x86(_64) platforms.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 13 07:40:25 CST 2014


Module: wine
Branch: master
Commit: 8fd7c73a2bd253435aa31ee87526534beb7445ce
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8fd7c73a2bd253435aa31ee87526534beb7445ce

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Nov 13 00:57:04 2014 +0100

ntdll/tests: Get rid of "defined but not used" warnings on non-x86(_64) platforms.

---

 dlls/ntdll/tests/exception.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 2074f0a..a94ed3a 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -1695,6 +1695,7 @@ static void test_dynamic_unwind(void)
 
 #endif  /* __x86_64__ */
 
+#if defined(__i386__) || defined(__x86_64__)
 static DWORD outputdebugstring_exceptions;
 
 static LONG CALLBACK outputdebugstring_vectored_handler(EXCEPTION_POINTERS *ExceptionInfo)
@@ -1787,6 +1788,7 @@ static void test_ripevent(DWORD numexc)
 
     pRtlRemoveVectoredExceptionHandler(vectored_handler);
 }
+#endif /* defined(__i386__) || defined(__x86_64__) */
 
 START_TEST(exception)
 {




More information about the wine-cvs mailing list