aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/drivers/ft2232.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-11-10 19:37:00 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2011-11-10 21:29:39 +0000
commiteac1bc55d22b40d6afe7374b42779218ca1bb26b (patch)
treeeafa48add8f1616da7afb623c66af3d2e6966c85 /src/jtag/drivers/ft2232.c
parentfb5422261f95caf2985ace8b51dad3f048503e01 (diff)
ft2232: fix warning about assignment to local variable
variable is not read afterwards. Change-Id: I905bbb10c596190f75494e6c6ad400a3e51843f6 Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on: http://openocd.zylin.com/192 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/jtag/drivers/ft2232.c')
-rw-r--r--src/jtag/drivers/ft2232.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index ceb3c0b7..881d7c77 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;