Skip to content

Name Shadowing in FORM #779

Description

@aolivier23

While reviewing #762, @beojan found name shadowing in storage_reader.cpp here:

auto key = std::make_pair(token.fileName(), token.containerName());

There's a similar problem a few lines down the same file. Based on how I helped create these files, storage_writer.cpp should be scanned for this problem too.

This name shadowing doesn't affect the correctness of our code right now nor in the PR above. But we should fix it to improve readability and prevent future bugs. I plan to solve it in the next two weeks unless someone beats me to it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions