diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2014-06-05 20:38:44 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2014-06-06 01:04:03 -0700 |
commit | e27a839bf0488d5b1cc2e2a887f2ea0e3d790790 (patch) | |
tree | 33548f952ecb533824ba1bd75b753d9ad9b03526 /mi | |
parent | 08820f03768e904f1746ef93ca01660330dc5406 (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>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mieq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |