Skip to content

Conversation

cody-littley
Copy link
Contributor

Why are these changes needed?

Auditor Request

Finding #7 (Note): Shadowed Loop Variable

  • Although Go’s scoping rules prevent bugs here, reusing i makes me sad in terms of readability. [Code]
  • Recommendation: Rename inner loop variables (e.g., j, idx, or a descriptive name) to improve clarity.

Response

Fixed the issue.

Signed-off-by: Cody Littley <[email protected]>
@cody-littley cody-littley requested a review from litt3 May 8, 2025 15:17
@cody-littley cody-littley self-assigned this May 8, 2025
@cody-littley cody-littley changed the title Fix auditor finding 7. fix: auditor finding 7 May 8, 2025
@cody-littley cody-littley merged commit 8b79095 into master May 9, 2025
15 checks passed
@cody-littley cody-littley deleted the litt-audit-f7 branch May 9, 2025 15:24
ethenotethan pushed a commit that referenced this pull request May 14, 2025
Fix auditor finding 7.

Signed-off-by: Cody Littley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants