This is an automated email from Gerrit.

Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2561

-- gerrit

commit ff8d775ad0b7e1b48449f0904a2ffa6ab32d7bf6
Author: Paul Fertser <fercer...@gmail.com>
Date:   Thu Feb 26 19:48:08 2015 +0300

    target/cortex_a: remove dead assignment
    
    Found by clang static checker.
    
    Change-Id: I77b0dc18188328fdb28d07b9e5c52e06182d9e2b
    Signed-off-by: Paul Fertser <fercer...@gmail.com>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index 489c881..9ae0432 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -2390,7 +2390,6 @@ static int cortex_a_read_apb_ab_memory_fast(struct target 
*target,
 
                /* Advance. */
                buffer += (count - 1) * 4;
-               count = 1;
        } else {
                /* Issue the LDC instruction via a write to ITR. */
                retval = cortex_a_exec_opcode(target, ARMV4_5_LDC(0, 1, 0, 1, 
14, 5, 0, 4), dscr);

-- 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to