From 3549810faad4b3be7c44159d2649fbd600e6b8b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Hentschel?= Date: Tue, 21 Jul 2015 20:31:34 +0200 Subject: [PATCH] winedbg: Remove dead variable (Clang). --- 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 dd63f7d3130..7f0a8c9553b 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; } -- 2.11.4.GIT