summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-12-27 00:01:28 +0000
committerian <ian@FreeBSD.org>2014-12-27 00:01:28 +0000
commitb2f7ab039b1fa2b8d23318b14fd37933528e0824 (patch)
treeb75e17e6abdddd467becca7252d4e80172ba1feb /sys/dev
parent8e470958f3857e9ee9f60dcf2e5ed5b488b94777 (diff)
downloadFreeBSD-src-b2f7ab039b1fa2b8d23318b14fd37933528e0824.zip
FreeBSD-src-b2f7ab039b1fa2b8d23318b14fd37933528e0824.tar.gz
MFC r274926: Squelch a (bogus) gcc used before init warning
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mpt/mpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mpt/mpt.c b/sys/dev/mpt/mpt.c
index 2f7bfc2..d5b2a18 100644
--- a/sys/dev/mpt/mpt.c
+++ b/sys/dev/mpt/mpt.c
@@ -1334,6 +1334,7 @@ mpt_wait_req(struct mpt_softc *mpt, request_t *req,
/* Set timeout as well so final timeout check works. */
timeout = time_ms;
} else {
+ sbt = 0; /* Squelch bogus gcc warning. */
timeout = time_ms * 2;
}
req->state |= REQ_STATE_NEED_WAKEUP;
OpenPOWER on IntegriCloud