winedbg: Remove unused variable.

Nicolas Le Cam niko.lecam at gmail.com
Sun Jun 1 17:51:18 CDT 2014


-- 
Nicolas Le Cam
-------------- next part --------------
From 065ea424b01335f830328a4e5b38e22ec100a923 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Mon, 2 Jun 2014 00:21:11 +0200
Subject: winedbg: Remove unused variable.

---
 programs/winedbg/be_x86_64.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/programs/winedbg/be_x86_64.c b/programs/winedbg/be_x86_64.c
index 18032d4..8628025 100644
--- a/programs/winedbg/be_x86_64.c
+++ b/programs/winedbg/be_x86_64.c
@@ -347,7 +347,6 @@ static BOOL be_x86_64_is_func_call(const void* insn, ADDRESS64* callee)
 {
     BYTE                ch;
     LONG                delta;
-    short               segment;
     unsigned            op_size = 32, rex = 0;
     DWORD64             dst;
 
@@ -383,7 +382,6 @@ static BOOL be_x86_64_is_func_call(const void* insn, ADDRESS64* callee)
         switch (f_reg(ch))
         {
         case 0x02:
-            segment = dbg_context.SegCs;
             break;
         default: return FALSE;
         }
-- 
2.0.0.rc2



More information about the wine-patches mailing list