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:
parent
c6e0716ac9
commit
2d4c53b338
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue