mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Squelch a (bogus) used before init warning when building with gcc.
This commit is contained in:
parent
d4d112e34a
commit
2b7b77f06b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue