Skip to content

Commit fc8570c

Browse files
RecoDemoclaude
andcommitted
Fix ruff lint: remove unused receiver_name variable
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e1f40cc commit fc8570c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/mcp_codebase_index/go_annotator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ def annotate_go(source: str, source_name: str = "<source>") -> StructuralMetadat
398398
# Method declaration (check before function - more specific pattern)
399399
mm = _METHOD_RE.match(stripped)
400400
if mm:
401-
receiver_name = mm.group(1)
402401
receiver_type = mm.group(2)
403402
method_name = mm.group(3)
404403
params = _extract_params(mm.group(5))

0 commit comments

Comments
 (0)