aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_simulator.c
diff options
context:
space:
mode:
authorMartin Nowak <dawg@dawgfoto.de>2012-08-01 22:35:04 +0200
committerFreddie Chopin <freddie.chopin@gmail.com>2012-08-24 16:51:00 +0000
commitf97a1594119f90f63526e1fa8a95dbcba0acd192 (patch)
treefb2a96b41e031daad43b34a41f59d8193ac44258 /src/target/arm_simulator.c
parent78f4f9564881b1f81024b1f629a88c28436aecc4 (diff)
downloadriscv-openocd-f97a1594119f90f63526e1fa8a95dbcba0acd192.zip
riscv-openocd-f97a1594119f90f63526e1fa8a95dbcba0acd192.tar.gz
riscv-openocd-f97a1594119f90f63526e1fa8a95dbcba0acd192.tar.bz2
build: fix clang warnings
Change-Id: I3c6a63a18034535f0a8c2c62ba8a708f09d7839b Signed-off-by: Martin Nowak <dawg@dawgfoto.de> Reviewed-on: http://openocd.zylin.com/765 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/target/arm_simulator.c')
-rw-r--r--src/target/arm_simulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c
index 215739d..9ddc85b 100644
--- a/src/target/arm_simulator.c
+++ b/src/target/arm_simulator.c
@@ -524,7 +524,7 @@ static int arm_simulate_step_core(struct target *target,
switch (instruction.info.load_store_multiple.addressing_mode) {
case 0: /* Increment after */
- Rn = Rn;
+ /* Rn = Rn; */
break;
case 1: /* Increment before */
Rn = Rn + 4;
@@ -604,7 +604,7 @@ static int arm_simulate_step_core(struct target *target,
switch (instruction.info.load_store_multiple.addressing_mode) {
case 0: /* Increment after */
- Rn = Rn;
+ /* Rn = Rn; */
break;
case 1: /* Increment before */
Rn = Rn + 4;