diff options
author | peter <peter@FreeBSD.org> | 1999-05-06 18:13:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-06 18:13:11 +0000 |
commit | 73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9 (patch) | |
tree | cd23f4c8f0d180abffffaece640b7971fd1103e2 /sys/dev/mse/mse.c | |
parent | ff951279f971ed62682d7071d202a8e45e6e32a4 (diff) | |
download | FreeBSD-src-73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9.zip FreeBSD-src-73556bfee1b1d6dfc2a2f5d400228ca90bb34fc9.tar.gz |
Add sufficient braces to keep egcs happy about potentially ambiguous
if/else nesting.
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r-- | sys/dev/mse/mse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 836ec9c..001da0c 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -11,7 +11,7 @@ * this software for any purpose. It is provided "as is" * without express or implied warranty. * - * $Id: mse.c,v 1.39 1998/10/22 05:58:39 bde Exp $ + * $Id: mse.c,v 1.40 1999/04/28 10:52:43 dt Exp $ */ /* * Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and @@ -528,7 +528,7 @@ msepoll(dev, events, p) int revents = 0; s = spltty(); - if (events & (POLLIN | POLLRDNORM)) + if (events & (POLLIN | POLLRDNORM)) { if (sc->sc_bytesread != sc->mode.packetsize || sc->sc_deltax != 0 || sc->sc_deltay != 0 || (sc->sc_obuttons ^ sc->sc_buttons) != 0) @@ -540,7 +540,7 @@ msepoll(dev, events, p) */ selrecord(p, &sc->sc_selp); } - + } splx(s); return (revents); } |