summaryrefslogtreecommitdiff
path: root/dix/swapreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/swapreq.c')
-rw-r--r--dix/swapreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/swapreq.c b/dix/swapreq.c
index 5d7d71c8f..2e34711c0 100644
--- a/dix/swapreq.c
+++ b/dix/swapreq.c
@@ -318,7 +318,7 @@ SProcSendEvent(ClientPtr client)
/* Swap event */
proc = EventSwapVector[stuff->event.u.u.type & 0177];
if (!proc || proc == NotImplemented) /* no swapping proc; invalid event type? */
- return (BadValue);
+ return BadValue;
(*proc)(&stuff->event, &eventT);
stuff->event = eventT;