winedbg: Remove dead variable (Clang)

André Hentschel nerv at dawncrow.de
Tue Jul 21 13:31:34 CDT 2015


---
 programs/winedbg/gdbproxy.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c
index dd63f7d..7f0a8c9 100644
--- a/programs/winedbg/gdbproxy.c
+++ b/programs/winedbg/gdbproxy.c
@@ -1400,13 +1400,12 @@ static enum packet_return packet_read_registers(struct gdb_context* gdbctx)
 {
     int                 i;
     CONTEXT             ctx;
-    CONTEXT*            pctx = &gdbctx->context;
 
     assert(gdbctx->in_trap);
 
     if (dbg_curr_thread != gdbctx->other_thread && gdbctx->other_thread)
     {
-        if (!fetch_context(gdbctx, gdbctx->other_thread->handle, pctx = &ctx))
+        if (!fetch_context(gdbctx, gdbctx->other_thread->handle, &ctx))
             return packet_error;
     }
 
-- 
1.9.1





More information about the wine-patches mailing list