jtag/drivers/xds110: Initialize `written`

Otherwise I get a compiler warning, which fails the build.

Change-Id: Ib7d4ab85160b537d07c74f8651ac42906fd661ed
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2023-06-20 09:20:33 -07:00
parent c6e0716ac9
commit 2d4c53b338
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ static bool usb_get_response(uint32_t *total_bytes_read, uint32_t timeout)
static bool usb_send_command(uint16_t size)
{
int written;
int written = 0;
bool success = true;
/* Check the packet length */