diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-10-31 21:52:10 +0100 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-10-31 21:12:30 +0000 |
commit | 01f461b20a707e3547def68f562701790ba99949 (patch) | |
tree | 35b10b074ac074cda7a39385f00deebd5f292f22 /src/target/mips32_pracc.c | |
parent | 9b9092b7faa5859dd1a14489a312465782e2bef1 (diff) |
warning fix: remove senseless assignment before bailing out of fn w/error
Change-Id: I822f3adce0eccb880007673d60c7eccf7d36b398
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/144
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/target/mips32_pracc.c')
-rw-r--r-- | src/target/mips32_pracc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |