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>
This commit is contained in:
Tomas Vanek 2019-12-20 23:43:13 +01:00
parent 2ebedbdf38
commit 4e981bc27c
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ int arm920t_post_debug_entry(struct target *target)
/* EXPORTED to FA256 */ /* EXPORTED to FA256 */
void arm920t_pre_restore_context(struct target *target) void arm920t_pre_restore_context(struct target *target)
{ {
uint32_t cp15c15; uint32_t cp15c15 = 0;
struct arm920t_common *arm920t = target_to_arm920(target); struct arm920t_common *arm920t = target_to_arm920(target);
/* restore i/d fault status and address register */ /* restore i/d fault status and address register */