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>
This commit is contained in:
Øyvind Harboe 2011-11-10 19:37:00 +01:00 committed by Spencer Oliver
parent fb5422261f
commit eac1bc55d2

View 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;