diff options
author | marcel <marcel@FreeBSD.org> | 2003-08-23 09:00:56 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-08-23 09:00:56 +0000 |
commit | a48e8d72dc68145f37493552d623dc19f16c625e (patch) | |
tree | 96ae6154ebe83c200bfafd1875a6fa1957f631dd | |
parent | c2a6d01cc9b7e306c199e0356ed3e14bfd1fb256 (diff) | |
download | FreeBSD-src-a48e8d72dc68145f37493552d623dc19f16c625e.zip FreeBSD-src-a48e8d72dc68145f37493552d623dc19f16c625e.tar.gz |
In aic_reconnect()i, initialize scb. On ia64 the compiler warns about
a possible uninitialized variable.
-rw-r--r-- | sys/dev/aic/aic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c index 7824df1..b5507eb 100644 --- a/sys/dev/aic/aic.c +++ b/sys/dev/aic/aic.c @@ -490,6 +490,7 @@ aic_reconnect(struct aic_softc *aic, int tag) CAM_DEBUG_PRINT(CAM_DEBUG_TRACE, ("aic_reconnect\n")); /* Find the nexus */ + scb = NULL; TAILQ_FOREACH(ccb_h, &aic->nexus_ccbs, sim_links.tqe) { scb = (struct aic_scb *)ccb_h->ccb_scb_ptr; if (scb->target == aic->target && scb->lun == aic->lun && |