summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2021-06-21 20:24:02 +0200
committerSander Vrijders <[email protected]>2021-06-23 08:36:44 +0200
commitac53f8ea09b9a24321bc2c00832ba8a117115134 (patch)
tree082ee03360800ab2021e6dc2409e67515b7d3296 /src/ipcpd
parent017172282b358e3fc79c9bc4c47f3193a8005f27 (diff)
downloadouroboros-ac53f8ea09b9a24321bc2c00832ba8a117115134.tar.gz
ouroboros-ac53f8ea09b9a24321bc2c00832ba8a117115134.zip
ipcpd: Add missing default for switch in shim-data
There was a switch-case without a default, causing some compiler warnings. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/shim-data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipcpd/shim-data.c b/src/ipcpd/shim-data.c
index add7fb6b..ade157ce 100644
--- a/src/ipcpd/shim-data.c
+++ b/src/ipcpd/shim-data.c
@@ -74,6 +74,9 @@ static void destroy_dir_query(struct dir_query * query)
case QUERY_DESTROY:
pthread_mutex_unlock(&query->lock);
return;
+ default:
+ assert(false);
+ return;
}
while (query->state != QUERY_DONE)