aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2014-11-23 21:37:33 +0000
committerIan Lepore <ian@FreeBSD.org>2014-11-23 21:37:33 +0000
commit2b7b77f06b8ea225b314d66c1bfd595d194796da (patch)
treed6f856fe40c9009190246d806c179f1a5584307e /sys/dev/mpt
parentd4d112e34a28aee2571da46afaf93e2469f6a1be (diff)
downloadsrc-2b7b77f06b8ea225b314d66c1bfd595d194796da.tar.gz
src-2b7b77f06b8ea225b314d66c1bfd595d194796da.zip
Squelch a (bogus) used before init warning when building with gcc.
Notes
Notes: svn path=/head/; revision=274926
Diffstat (limited to 'sys/dev/mpt')
-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 2f7bfc25c703..d5b2a180d559 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;