This is an automated email from Gerrit.

Tomas Vanek ([email protected]) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/5375

-- gerrit

commit 1df729b8bbfaef71d280159bc75b28ee3873d260
Author: Tomas Vanek <[email protected]>
Date:   Fri Dec 20 23:43:13 2019 +0100

    target/arm920t: fix clang static analyzer warning
    
    Change-Id: I570dfb8b20a3f187f1fe660343cf0b75691e2c30
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index 2ecf218..3ddd198 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 */

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to