Fix a warning - make sure the register is read regardless of the debugging

options.
This commit is contained in:
Peter Wemm 1999-05-06 22:09:55 +00:00
parent bb6f0e396b
commit 189f4bb9c8

View File

@ -293,7 +293,8 @@ sscapeintr(int irq)
{
u_char bits, tmp;
DEB(printf("sscapeintr(0x%02x)\n", (bits = sscape_read(devc, GA_INTSTAT_REG))));
bits = sscape_read(devc, GA_INTSTAT_REG);
DEB(printf("sscapeintr(0x%02x)\n", bits));
if ((sscape_sleep_flag.mode & WK_SLEEP)) {
sscape_sleep_flag.mode = WK_WAKEUP;
wakeup(sscape_sleeper);