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

-- gerrit

commit a5bc07f8db2cda2b490c08e062010e34ea72d79f
Author: Paul Fertser <fercer...@gmail.com>
Date:   Thu Feb 26 19:39:50 2015 +0300

    flash/nor/sim3x: remove dead assignment
    
    Found by clang static code checker.
    
    Change-Id: Ic1370f8d7a48f08da6514afec5aacde38af7dfb6
    Signed-off-by: Paul Fertser <fercer...@gmail.com>

diff --git a/src/flash/nor/sim3x.c b/src/flash/nor/sim3x.c
index 4628e68..867d0ca 100644
--- a/src/flash/nor/sim3x.c
+++ b/src/flash/nor/sim3x.c
@@ -877,7 +877,6 @@ static int sim3x_flash_info(struct flash_bank *bank, char 
*buf, int buf_size)
 
        /* Print flash size */
        printed = snprintf(buf, buf_size, " flash_size = %dKB", 
sim3x_info->flash_size_kb);
-       buf += printed;
        buf_size -= printed;
 
        if (buf_size <= 0)

-- 

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