ft2232: fix warning about assignment to local variable
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 10 Nov 2011 18:37:00 +0000 (19:37 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 10 Nov 2011 21:29:39 +0000 (21:29 +0000)
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>
src/jtag/drivers/ft2232.c

index ceb3c0b74bd353338648a666f60647444ec224f2..881d7c772b79ac01f729326e65ee2db75ca4c56a 100644 (file)
@@ -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;