This is an automated email from Gerrit.
?yvind Harboe ([email protected]) just uploaded a new patch set to Gerrit,
which you can find at http://openocd.zylin.com/184
-- gerrit
commit fb0a4c10b8188c892a4174b05f7cb5162426e4b1
Author: Ãyvind Harboe <[email protected]>
Date: Tue Nov 8 17:54:28 2011 +0100
em357: fix warning by removing unused local variables
Change-Id: I9def63d36ed4fa8bf9cdeeedc18b1b25d0e487d6
Signed-off-by: Ãyvind Harboe <[email protected]>
diff --git a/src/flash/nor/em357.c b/src/flash/nor/em357.c
index a62be6a..c400187 100644
--- a/src/flash/nor/em357.c
+++ b/src/flash/nor/em357.c
@@ -757,10 +757,7 @@ static int em357_auto_probe(struct flash_bank *bank)
static int get_em357_info(struct flash_bank *bank, char *buf, int buf_size)
{
- int printed;
- printed = snprintf(buf, buf_size, "em357\n");
- buf += printed;
- buf_size -= printed;
+ snprintf(buf, buf_size, "em357\n");
return ERROR_OK;
}
--
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Openocd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel