ft2232: fix warning about assignment to local variable
[fw/openocd] / 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;