summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.c')
-rw-r--r--lsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lsp.c b/lsp.c
index 8f2c1af..af61254 100644
--- a/lsp.c
+++ b/lsp.c
@@ -525,6 +525,7 @@ LSP *lsp_create(const char *root_dir, const char *command, const char *configura
// document ID 0 is reserved
LSPDocumentID zero_id = lsp_document_id(lsp, "");
+ (void)zero_id;
assert(zero_id == 0);
arr_add(lsp->workspace_folders, lsp_document_id(lsp, root_dir));