Fix warning during compilation for unused variable.

This commit is contained in:
Sebastian Lackner 2014-06-14 10:37:54 +02:00
parent 674b998176
commit 907d56238e

View File

@ -1,4 +1,4 @@
From 3ca3809fc3df18f7e8fb6911f8b0b552f28b2ddb Mon Sep 17 00:00:00 2001
From 15d2a2bc4bba9653985de18e6b99f7397aa98316 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sat, 14 Jun 2014 09:39:24 +0200
Subject: kernel32: Raise DBG_PRINTEXCEPTION_C exception in
@ -6,10 +6,10 @@ Subject: kernel32: Raise DBG_PRINTEXCEPTION_C exception in
---
dlls/kernel32/debugger.c | 21 +++++++++++++++++++++
dlls/ntdll/tests/exception.c | 42 ++++++++++++++++++++++++++++++++++++++++++
dlls/ntdll/tests/exception.c | 41 +++++++++++++++++++++++++++++++++++++++++
include/ntstatus.h | 1 +
include/winnt.h | 1 +
4 files changed, 65 insertions(+)
4 files changed, 64 insertions(+)
diff --git a/dlls/kernel32/debugger.c b/dlls/kernel32/debugger.c
index 5300fb5..d2edfaa 100644
@ -59,10 +59,10 @@ index 5300fb5..d2edfaa 100644
{
req->string = wine_server_client_ptr( str );
diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 8a80928..2009363 100644
index 8a80928..05bc15c 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -1572,6 +1572,46 @@ static void test_dynamic_unwind(void)
@@ -1572,6 +1572,45 @@ static void test_dynamic_unwind(void)
#endif /* __x86_64__ */
@ -70,7 +70,6 @@ index 8a80928..2009363 100644
+
+static LONG CALLBACK outputdebugstring_vectored_handler(EXCEPTION_POINTERS *ExceptionInfo)
+{
+ PCONTEXT context = ExceptionInfo->ContextRecord;
+ PEXCEPTION_RECORD rec = ExceptionInfo->ExceptionRecord;
+ trace("vect. handler %08x addr:%p\n", rec->ExceptionCode, rec->ExceptionAddress);
+
@ -109,7 +108,7 @@ index 8a80928..2009363 100644
START_TEST(exception)
{
HMODULE hntdll = GetModuleHandleA("ntdll.dll");
@@ -1675,5 +1715,7 @@ START_TEST(exception)
@@ -1675,5 +1714,7 @@ START_TEST(exception)
#endif