Make gcc happy, init idlen2.

This commit is contained in:
Andreas Tobler 2014-07-06 20:09:23 +00:00
parent 1380b77c12
commit 64175581d0

View File

@ -4336,7 +4336,7 @@ ctl_alloc_lun(struct ctl_softc *ctl_softc, struct ctl_lun *ctl_lun,
struct scsi_vpd_id_t10 *t10id;
const char *scsiname, *vendor;
int lun_number, i, lun_malloced;
int devidlen, idlen1, idlen2, len;
int devidlen, idlen1, idlen2 = 0, len;
if (be_lun == NULL)
return (EINVAL);