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

-- gerrit

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

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

diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index c4fe3be..664b6d0 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -516,7 +516,7 @@ static int get_stellaris_info(struct flash_bank *bank, char 
*buf, int buf_size)
        buf += printed;
        buf_size -= printed;
 
-       printed = snprintf(buf,
+       snprintf(buf,
                           buf_size,
                           "master clock: %ikHz%s, "
                           "rcc is 0x%" PRIx32 ", rcc2 is 0x%" PRIx32 ", "

-- 

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