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:
parent
2ebedbdf38
commit
4e981bc27c
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue