Squelch a (bogus) used before init warning when building with gcc.
This commit is contained in:
parent
d4d112e34a
commit
2b7b77f06b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user