Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jtag/drivers/xds110: Fix compiler warning.
Compiler would complain that `written` was used without being initialized. Simplify the code a little. The number of bytes written is already checked in usb_write(). Signed-off-by: Tim Newsome <[email protected]> Change-Id: Ibada85dcccfca6f1269c584cdbc4f2e3b93bb8f3 Reviewed-on: https://review.openocd.org/c/openocd/+/7813 Tested-by: jenkins Reviewed-by: Tomas Vanek <[email protected]> Reviewed-by: Antonio Borneo <[email protected]> Reviewed-by: Jan Matyas <[email protected]>
- Loading branch information