ntdll: Don't incorrectly overwrite orig_context in call_stack_handlers.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2016-08-26 11:24:09 +02:00 committed by Alexandre Julliard
parent 594ddb6140
commit 67f2a1eaf9
1 changed files with 0 additions and 2 deletions

View File

@ -2400,7 +2400,6 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex
{
case ExceptionContinueExecution:
if (rec->ExceptionFlags & EH_NONCONTINUABLE) return STATUS_NONCONTINUABLE_EXCEPTION;
*orig_context = *dispatch.ContextRecord;
return STATUS_SUCCESS;
case ExceptionContinueSearch:
break;
@ -2431,7 +2430,6 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex
{
case ExceptionContinueExecution:
if (rec->ExceptionFlags & EH_NONCONTINUABLE) return STATUS_NONCONTINUABLE_EXCEPTION;
*orig_context = *dispatch.ContextRecord;
return STATUS_SUCCESS;
case ExceptionContinueSearch:
break;