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/5374

-- gerrit

commit 61b7709ca3ba479388234d72730edbfb0116eb99
Author: Tomas Vanek <[email protected]>
Date:   Fri Dec 20 23:41:55 2019 +0100

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

diff --git a/src/target/adi_v5_swd.c b/src/target/adi_v5_swd.c
index 594b508..1f9c754 100644
--- a/src/target/adi_v5_swd.c
+++ b/src/target/adi_v5_swd.c
@@ -96,7 +96,7 @@ static int swd_run_inner(struct adiv5_dap *dap)
 static int swd_connect(struct adiv5_dap *dap)
 {
        const struct swd_driver *swd = adiv5_dap_swd_driver(dap);
-       uint32_t dpidr;
+       uint32_t dpidr = 0;
        int status;
 
        /* FIXME validate transport config ... is the

-- 


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

Reply via email to