From eac1bc55d22b40d6afe7374b42779218ca1bb26b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Thu, 10 Nov 2011 19:37:00 +0100 Subject: [PATCH] ft2232: fix warning about assignment to local variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit variable is not read afterwards. Change-Id: I905bbb10c596190f75494e6c6ad400a3e51843f6 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/192 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/jtag/drivers/ft2232.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index ceb3c0b74..881d7c772 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -1345,7 +1345,6 @@ static int ft2232_large_scan(struct scan_command* cmd, enum scan_type type, uint LOG_DEBUG("thisrun_read: %i, bytes_read: %i", thisrun_read, (int)bytes_read); - receive_pointer += bytes_read; } return ERROR_OK; -- 2.39.5