aboutsummaryrefslogtreecommitdiff
path: root/src/server/check.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/check.odin')
-rw-r--r--src/server/check.odin2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/check.odin b/src/server/check.odin
index 5b8f2a1..b53d7e2 100644
--- a/src/server/check.odin
+++ b/src/server/check.odin
@@ -70,8 +70,6 @@ check_unused_imports :: proc(document: ^Document, config: ^common.Config) {
return
}
- diagnostics := make([dynamic]Diagnostic, context.temp_allocator)
-
unused_imports := find_unused_imports(document, context.temp_allocator)
remove_diagnostics(.Unused, document.uri.uri)