From 596420dd28e7a9590267a5dadee0140832a20cbe Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Thu, 14 Jul 2016 11:57:30 +0200 Subject: [PATCH] remove unvwanted return statment C function: void event_cancel(... had unwanted return statement. It cause build crash for IAR. --- events-c/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events-c/events.c b/events-c/events.c index dc61869..268d792 100644 --- a/events-c/events.c +++ b/events-c/events.c @@ -279,7 +279,7 @@ int event_post(equeue_t *q, void (*cb)(void*), void *p) { } void event_cancel(equeue_t *q, int id) { - return equeue_cancel(q, id); + equeue_cancel(q, id); } // simple callbacks