Skip to content

Fix variable shadowing bug in leccalc aggreports#406

Open
benhayes21 wants to merge 1 commit intodevelopfrom
fix/405-variable-shadowing-leccalc
Open

Fix variable shadowing bug in leccalc aggreports#406
benhayes21 wants to merge 1 commit intodevelopfrom
fix/405-variable-shadowing-leccalc

Conversation

@benhayes21
Copy link
Contributor

Fix variable shadowing bug in leccalc aggreports

  • Fixed a variable shadowing bug in leccalc/aggreports.cpp where fileIDs was redeclared inside an if block, shadowing the outer variable and leaving it empty when passed to WritePerSampleExceedanceProbabilityTable

#405

Remove inner redeclaration of fileIDs that shadowed the outer variable,
causing it to remain empty after the if block.

Fixes #405

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant

Comments