summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-06-05 20:38:44 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-06-06 01:04:03 -0700
commite27a839bf0488d5b1cc2e2a887f2ea0e3d790790 (patch)
tree33548f952ecb533824ba1bd75b753d9ad9b03526
parent08820f03768e904f1746ef93ca01660330dc5406 (diff)
mi: Build fix: mieqProcessDeviceEvent returns void
mieq.c:520:9: error: void function 'mieqProcessDeviceEvent' should not return a value [-Wreturn-type,Semantic Issue] return 0; ^ ~ 1 error generated. Regression-from: 9fb08310b51b46736f3ca8dbc04efdf502420403 Found-by: Tinderbox Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--mi/mieq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 0e27405cc..872ff93da 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -517,7 +517,7 @@ mieqProcessDeviceEvent(DeviceIntPtr dev, InternalEvent *event, ScreenPtr screen)
/* refuse events from disabled devices */
if (!dev->enabled)
- return 0;
+ return;
/* Custom event handler */
handler = miEventQueue.handlers[event->any.type];