Author: mav
Date: Tue Jul 15 17:11:42 2014
New Revision: 268689
URL: http://svnweb.freebsd.org/changeset/base/268689

Log:
  MFC r268330:
  Make gcc happy, init idlen2.

Modified:
  stable/10/sys/cam/ctl/ctl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl.c Tue Jul 15 17:10:48 2014        (r268688)
+++ stable/10/sys/cam/ctl/ctl.c Tue Jul 15 17:11:42 2014        (r268689)
@@ -4338,7 +4338,7 @@ ctl_alloc_lun(struct ctl_softc *ctl_soft
        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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to