summaryrefslogtreecommitdiff
path: root/src/lib/cdap_req.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-06-04 15:45:21 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-06-04 15:45:21 +0200
commitbd79660f37a6110d0e53f20cec7a3863c5eff78e (patch)
tree88b104b87854037b52f710c2e085ec682d3dca09 /src/lib/cdap_req.c
parentf2be3677aedd7a3d68122c48f00c99a4c8e76f88 (diff)
downloadouroboros-bd79660f37a6110d0e53f20cec7a3863c5eff78e.tar.gz
ouroboros-bd79660f37a6110d0e53f20cec7a3863c5eff78e.zip
lib, irmd: Handle case fallthrough in gcc 7
Diffstat (limited to 'src/lib/cdap_req.c')
-rw-r--r--src/lib/cdap_req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cdap_req.c b/src/lib/cdap_req.c
index 4eab6fa6..bb11dbf6 100644
--- a/src/lib/cdap_req.c
+++ b/src/lib/cdap_req.c
@@ -126,6 +126,7 @@ int cdap_req_wait(struct cdap_req * creq)
switch(creq->state) {
case REQ_DESTROY:
ret = -1;
+ /* FALLTHRU */
case REQ_PENDING:
creq->state = REQ_NULL;
pthread_cond_broadcast(&creq->cond);