warning fix: remove senseless assignment before bailing out of fn w/error
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 31 Oct 2011 20:52:10 +0000 (21:52 +0100)
committerPeter Stuge <peter@stuge.se>
Mon, 31 Oct 2011 21:12:30 +0000 (21:12 +0000)
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>
src/target/mips32_pracc.c

index 6b43479fccc601694b1c26afef71b7991498eacb..7160f8e03cde4ac28abbcf6d7009a3986b9344cc 100644 (file)
@@ -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;
        }