aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2019-12-20 23:43:13 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-03-07 15:29:44 +0000
commit4e981bc27c36e696dc8ace3ab4bab534564770c1 (patch)
tree6a40eccc757c4e066eafcfe6146620e19fad4488
parent2ebedbdf383601104ed441dda19e107a76cdf248 (diff)
target/arm920t: fix clang static analyzer warning
Change-Id: I570dfb8b20a3f187f1fe660343cf0b75691e2c30 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/5375 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
-rw-r--r--src/target/arm920t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index 2ecf218f..3ddd1988 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -484,7 +484,7 @@ int arm920t_post_debug_entry(struct target *target)
/* EXPORTED to FA256 */
void arm920t_pre_restore_context(struct target *target)
{
- uint32_t cp15c15;
+ uint32_t cp15c15 = 0;
struct arm920t_common *arm920t = target_to_arm920(target);
/* restore i/d fault status and address register */