projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb54222
)
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)
committer
Spencer 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
patch
|
blob
|
history
diff --git
a/src/jtag/drivers/ft2232.c
b/src/jtag/drivers/ft2232.c
index ceb3c0b74bd353338648a666f60647444ec224f2..881d7c772b79ac01f729326e65ee2db75ca4c56a 100644
(file)
--- 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;