summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)