Skip to content

Fix variable shadowing bug in leccalc aggreports#406

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

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

Conversation

@benhayes21

Copy link
Copy Markdown
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>

@SkylordA SkylordA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you want to fix the workflow file issue here as well for macos since it's failing the build. I think it's because macos-13 isn't supported anymore on git

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.

3 participants