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:
parent
fb5422261f
commit
eac1bc55d2
|
@ -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",
|
LOG_DEBUG("thisrun_read: %i, bytes_read: %i",
|
||||||
thisrun_read,
|
thisrun_read,
|
||||||
(int)bytes_read);
|
(int)bytes_read);
|
||||||
receive_pointer += bytes_read;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
|
|
Loading…
Reference in New Issue