Skip to content

Commit

Permalink
Remove useless copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Apr 10, 2024
1 parent 0e1612e commit 4974a88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/MIPSAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,11 @@ bool CMIPSAnalysis::TryGetSJISLatinStringAtAddress(CMIPS* context, uint32 addres
}
return (result.length() > 1);
}

void CMIPSAnalysis::AnalyseStringReferences()
{
bool commentInserted = false;
for(auto subroutinePair : m_subroutines)
for(const auto& subroutinePair : m_subroutines)
{
const auto& subroutine = subroutinePair.second;
uint32 registerValue[0x20] = {0};
Expand Down

0 comments on commit 4974a88

Please sign in to comment.