=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winedbg: Remove dead variable ( Clang).
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 22 13:40:35 CDT 2015
Module: wine
Branch: master
Commit: 3549810faad4b3be7c44159d2649fbd600e6b8b1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3549810faad4b3be7c44159d2649fbd600e6b8b1
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Jul 21 20:31:34 2015 +0200
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 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;
}
More information about the wine-cvs
mailing list