mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Squelch a (bogus) gcc use-before-init warning.
This commit is contained in:
parent
f0442cf2e0
commit
2ed434b4bf
1 changed files with 1 additions and 0 deletions
|
|
@ -618,6 +618,7 @@ ti_gpio_intr(void *arg)
|
|||
|
||||
sc = (struct ti_gpio_softc *)arg;
|
||||
bank_last = -1;
|
||||
reg = 0; /* squelch bogus gcc warning */
|
||||
for (irq = 0; irq < sc->sc_maxpin; irq++) {
|
||||
|
||||
/* Read interrupt status only once for each bank. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue