TESTS: Initialize is_usb or else it will be very seldom that is_usb==0 and thus we dont truncate the transferlengths

This commit is contained in:
Ronnie Sahlberg
2013-05-30 19:04:58 -07:00
parent b95f44a4ff
commit 5713c2d363

View File

@@ -898,7 +898,7 @@ main(int argc, char *argv[])
struct scsi_task *rc16_task = NULL;
struct scsi_task *rsop_task = NULL;
int full_size;
int is_usb;
int is_usb = 0;
static struct option long_opts[] = {
{ "help", no_argument, 0, '?' },
{ "list", no_argument, 0, 'l' },