Fix variable shadowing issues reported by LGTM

This commit is contained in:
Tim Wojtulewicz 2021-03-03 09:57:16 -07:00
parent 59b40168fb
commit 2f2a265415
4 changed files with 26 additions and 26 deletions

View file

@ -34,8 +34,8 @@ void CCL::Add(int sym)
auto sym_p = static_cast<std::intptr_t>(sym);
// Check to see if the character is already in the ccl.
for ( auto sym : *syms )
if ( sym == sym_p )
for ( auto sym_entry : *syms )
if ( sym_entry == sym_p )
return;
syms->push_back(sym_p);