This is an automated email from Gerrit.

?yvind Harboe (oyvindhar...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/149

-- gerrit

commit 9416d087f9555d3b28ca7688ba95992dc1e24cc4
Author: Øyvind Harboe <oyvind.har...@zylin.com>
Date:   Tue Nov 1 22:10:54 2011 +0100

    fix warning: remove assigned to variable
    
    variable is subsequently not used
    
    Change-Id: I177d21c6ba9f1f2e3765feffdbf317ea375a8cfe
    Signed-off-by: Øyvind Harboe <oyvind.har...@zylin.com>

diff --git a/src/flash/nor/pic32mx.c b/src/flash/nor/pic32mx.c
index 69321ac..65d93ad 100644
--- a/src/flash/nor/pic32mx.c
+++ b/src/flash/nor/pic32mx.c
@@ -724,7 +724,7 @@ static int pic32mx_info(struct flash_bank *bank, char *buf, 
int buf_size)
 
        buf += printed;
        buf_size -= printed;
-       printed = snprintf(buf, buf_size, " Ver: 0x%02x",
+       snprintf(buf, buf_size, " Ver: 0x%02x",
                        (unsigned)((device_id >> 28) & 0xf));
 
        return ERROR_OK;

-- 
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to