From e27a839bf0488d5b1cc2e2a887f2ea0e3d790790 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Thu, 5 Jun 2014 20:38:44 -0700 Subject: 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 Reviewed-by: Peter Hutterer --- mi/mieq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3