summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-23 14:32:26 +0100
committerTyge Løvset <[email protected]>2023-02-23 14:32:26 +0100
commitfadfc47abd5f8fe0757244b3b9eb5a1ae78e0dce (patch)
tree9ecae213fa35e4d4216a764274f5c69e761a2b3a /include
parent01f09f3c2f34ae960b091f6d4063750bccd3e777 (diff)
downloadSTC-modified-fadfc47abd5f8fe0757244b3b9eb5a1ae78e0dce.tar.gz
STC-modified-fadfc47abd5f8fe0757244b3b9eb5a1ae78e0dce.zip
Fix minor regression in coroutine.h.
Diffstat (limited to 'include')
-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