diff options
author | Freddie Chopin <freddie.chopin@gmail.com> | 2011-10-19 21:40:48 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2011-10-19 19:53:00 +0000 |
commit | 1c1771ef6c4ed8d913146f943a64c0cf16850b59 (patch) | |
tree | 4efd88d11f1a9fffa86b00f9f0f65588496e0081 /src/target/cortex_a.c | |
parent | 9ddb94c1f3227b4fc693e9aaba5df0ee4f9171e6 (diff) | |
download | riscv-openocd-1c1771ef6c4ed8d913146f943a64c0cf16850b59.zip riscv-openocd-1c1771ef6c4ed8d913146f943a64c0cf16850b59.tar.gz riscv-openocd-1c1771ef6c4ed8d913146f943a64c0cf16850b59.tar.bz2 |
Unused variables
Fix a few errors with set and unused variables detected by GCC 4.7.0
Change-Id: I59b748e18e514ee9f0cde7883b4ed5116198bd4a
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-on: http://openocd.zylin.com/36
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/cortex_a.c')
-rwxr-xr-x | src/target/cortex_a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index 7547f17..2370d95 100755 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -92,7 +92,7 @@ static int cortex_a8_restore_cp15_control_reg(struct target* target) 1, 0, /* CRn, CRm */ cortex_a8->cp15_control_reg); } - return ERROR_OK; + return retval; } /* check address before cortex_a8_apb read write access with mmu on |