[PATCH mi 1/1] mi: Build fix: mieqProcessDeviceEvent returns void
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Thu Jun 5 20:40:33 PDT 2014
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
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
CC: Peter Hutterer <peter.hutterer at who-t.net>
---
mi/mieq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mi/mieq.c b/mi/mieq.c
index 0e27405..872ff93 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];
--
1.9.4
More information about the xorg-devel
mailing list