summaryrefslogtreecommitdiff
path: root/src/target/arm926ejs.c
diff options
context:
space:
mode:
authorFreddie Chopin <freddie_chopin@op.pl>2011-06-03 22:10:03 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-04 09:35:13 +0200
commitf6315d5e5b7b71515ef051711e5f818a42d6b3b3 (patch)
tree197f51e416132298d9c2571163e2be72e735c115 /src/target/arm926ejs.c
parentae02a0e51708d292b4dff67c12baef1b62b367fa (diff)
downloadopenocd+libswd-f6315d5e5b7b71515ef051711e5f818a42d6b3b3.tar.gz
openocd+libswd-f6315d5e5b7b71515ef051711e5f818a42d6b3b3.tar.bz2
openocd+libswd-f6315d5e5b7b71515ef051711e5f818a42d6b3b3.tar.xz
openocd+libswd-f6315d5e5b7b71515ef051711e5f818a42d6b3b3.zip
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes
Diffstat (limited to 'src/target/arm926ejs.c')
-rw-r--r--src/target/arm926ejs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c
index c72fe105..873e9a03 100644
--- a/src/target/arm926ejs.c
+++ b/src/target/arm926ejs.c
@@ -536,7 +536,6 @@ int arm926ejs_arch_state(struct target *target)
};
struct arm926ejs_common *arm926ejs = target_to_arm926(target);
- struct arm *armv4_5;
if (arm926ejs->common_magic != ARM926EJS_COMMON_MAGIC)
{
@@ -544,8 +543,6 @@ int arm926ejs_arch_state(struct target *target)
return ERROR_TARGET_INVALID;
}
- armv4_5 = &arm926ejs->arm7_9_common.armv4_5_common;
-
arm_arch_state(target);
LOG_USER("MMU: %s, D-Cache: %s, I-Cache: %s",
state[arm926ejs->armv4_5_mmu.mmu_enabled],