summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-08 17:30:47 -0500
committerpommicket <pommicket@gmail.com>2023-01-09 13:24:03 -0500
commit1051788217ead36b554efe38259dfd257e851fc2 (patch)
treea069061d093408ce04fa77d06aa45abbe7b8e1db /lsp.c
parentea70e513d8a927680f2795d4bad9aba788f32d77 (diff)
windows cmake build
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));