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

-- gerrit

commit 68009ed7191ce77efa0bd0ace70fd75b02f301da
Author: Tomas Vanek <[email protected]>
Date:   Fri Dec 20 23:54:29 2019 +0100

    target/xscale: remove duplicated command
    
    Reported by clang static analyzer.
    
    Change-Id: I893af10852af4885507ed62d024008159a80dd56
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/src/target/xscale.c b/src/target/xscale.c
index 1a099c9..3ef8922 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -3227,7 +3227,6 @@ COMMAND_HANDLER(xscale_handle_vector_catch_command)
        if (retval != ERROR_OK)
                return retval;
 
-       dcsr_value = buf_get_u32(dcsr_reg->value, 0, 32);
        if (CMD_ARGC > 0) {
                if (CMD_ARGC == 1) {
                        if (strcmp(CMD_ARGV[0], "all") == 0) {

-- 


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

Reply via email to