summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/stc/algo/coroutine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/algo/coroutine.h b/include/stc/algo/coroutine.h
index cf7acc16..967928b2 100644
--- a/include/stc/algo/coroutine.h
+++ b/include/stc/algo/coroutine.h
@@ -115,7 +115,7 @@ typedef struct ccoHandle {
} \
struct ccoContext *ctx = *_ccoparam; \
switch (ctx->cco_line) { \
- case 0: __VA_ARGS__ break; \
+ case 0:; __VA_ARGS__ break; \
default: assert(!"missing cco_finish:"); \
} \
free(ctx), *_ccoparam = NULL