ntdll: Remove dead code

Marcus Meissner marcus at jet.franken.de
Sun Feb 5 12:28:12 CST 2012


On Sun, Feb 05, 2012 at 03:59:44PM +0100, André Hentschel wrote:
> ---
>  dlls/ntdll/signal_x86_64.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
> index 0fc53c7..e9cefb8 100644
> --- a/dlls/ntdll/signal_x86_64.c
> +++ b/dlls/ntdll/signal_x86_64.c
> @@ -2629,10 +2629,6 @@ static BOOL is_inside_epilog( BYTE *pc )
>  
>      for (;;)
>      {
> -        BYTE rex = 0;
> -
> -        if ((*pc & 0xf0) == 0x40) rex = *pc++ & 0x0f;  /* rex prefix */
> -

This is not OK I think.

The pc++ side effect is removed ... and is not handled in the switch() below.

Ciao, Marcus



More information about the wine-devel mailing list