From: Øyvind Harboe Date: Mon, 31 Oct 2011 20:52:10 +0000 (+0100) Subject: warning fix: remove senseless assignment before bailing out of fn w/error X-Git-Tag: v0.6.0-rc1~484 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=01f461b20a707e3547def68f562701790ba99949;p=openocd warning fix: remove senseless assignment before bailing out of fn w/error Change-Id: I822f3adce0eccb880007673d60c7eccf7d36b398 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/144 Tested-by: jenkins Reviewed-by: Peter Stuge --- 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; }