From 01f461b20a707e3547def68f562701790ba99949 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Mon, 31 Oct 2011 21:52:10 +0100 Subject: [PATCH] warning fix: remove senseless assignment before bailing out of fn w/error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I822f3adce0eccb880007673d60c7eccf7d36b398 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/144 Tested-by: jenkins Reviewed-by: Peter Stuge --- src/target/mips32_pracc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/target/mips32_pracc.c b/src/target/mips32_pracc.c index 6b43479f..7160f8e0 100644 --- a/src/target/mips32_pracc.c +++ b/src/target/mips32_pracc.c @@ -183,7 +183,6 @@ static int mips32_pracc_exec_read(struct mips32_pracc_context *ctx, uint32_t add /* TODO: send JMP 0xFF200000 instruction. Hopefully processor jump back * to start of debug vector */ - data = 0; LOG_ERROR("Error reading unexpected address 0x%8.8" PRIx32 "", address); return ERROR_JTAG_DEVICE_ERROR; } -- 2.39.5