Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

Commit 596420d

Browse files
authored
remove unvwanted return statment
C function: void event_cancel(... had unwanted return statement. It cause build crash for IAR.
1 parent 59d08c4 commit 596420d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events-c/events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ int event_post(equeue_t *q, void (*cb)(void*), void *p) {
279279
}
280280

281281
void event_cancel(equeue_t *q, int id) {
282-
return equeue_cancel(q, id);
282+
equeue_cancel(q, id);
283283
}
284284

285285
// simple callbacks

0 commit comments

Comments
 (0)