fix(pipeline): drop duplicate rel declaration in resolve_worker

When the genskip commit (aecd861) moved `const char *rel` earlier in
the resolve_worker loop body (so the is_generated check could use it
before the cross_lsp_eligible computation), the original declaration
further down in the loop body wasn't removed — fails to compile with
"redefinition of 'rel'". This was caught by the post-commit bench
agent and fixed in-place but not landed; now it is.
This commit is contained in:
Martin Vogel
2026-05-21 11:48:22 +02:00
parent aecd86135f
commit 9552a7f9bf
-1
View File
@@ -1830,7 +1830,6 @@ static void resolve_worker(int worker_id, void *ctx_ptr) {
continue;
}
const char *rel = rc->files[file_idx].rel_path;
/* Build import map ONCE (read-only access to main_gbuf). The
* same imp_keys/imp_vals feed both the fused cross-file LSP