Skip to content

Commit 5e325b7

Browse files
committed
Remove fallthrough from AM_ASYNC_END()
1 parent eb9ea50 commit 5e325b7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libs/async/async.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ struct am_async {
8484
* the initial state.
8585
*/
8686
#define AM_ASYNC_END() \
87-
/* FALLTHROUGH */ \
8887
AM_ASYNC_EXIT(); \
8988
default: \
9089
AM_ASSERT(0); \
@@ -108,8 +107,8 @@ struct am_async {
108107
* Await a condition before proceeding.
109108
*
110109
* Checks the provided condition `cond`.
111-
* Returns if the condition is not met (false).
112-
* and on next invocation of the function the condition is evaluated again.
110+
* Returns if the condition is not met (false) and
111+
* on next invocation of the function the condition is evaluated again.
113112
*
114113
* Continues the function execution once the `cond` evaluates to `true`.
115114
*

0 commit comments

Comments
 (0)