Squelch a (bogus) used before init warning when building with gcc.

This commit is contained in:
Ian Lepore 2014-11-23 21:37:33 +00:00
parent d4d112e34a
commit 2b7b77f06b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274926

View File

@ -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;