svn commit: r232968 - stable/8/sys/cam/scsi
Alexander Motin
mav at FreeBSD.org
Wed Mar 14 14:14:17 UTC 2012
Author: mav
Date: Wed Mar 14 14:14:16 2012
New Revision: 232968
URL: http://svn.freebsd.org/changeset/base/232968
Log:
Dummy-initizlize variables to fix build breakage after r232942, because of
gcc falsely reporting variables as uninitialized. Code committed at that
revision don't even touch half of mentioned variables.
This is direct commit to 8-STABLE, as HEAD and 9-STABLE have no problem.
Modified:
stable/8/sys/cam/scsi/scsi_da.c
Modified: stable/8/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/8/sys/cam/scsi/scsi_da.c Wed Mar 14 14:01:51 2012 (r232967)
+++ stable/8/sys/cam/scsi/scsi_da.c Wed Mar 14 14:14:16 2012 (r232968)
@@ -1960,7 +1960,8 @@ dadone(struct cam_periph *periph, union
scsi_extract_sense(sense, &error_code,
&sense_key,
&asc, &ascq);
- }
+ } else
+ error_code = sense_key = asc = ascq = 0;
/*
* If we tried READ CAPACITY(16) and failed,
* fallback to READ CAPACITY(10).
More information about the svn-src-all
mailing list