fix some compiler warnings

This commit is contained in:
2026-02-18 23:20:58 +03:00
committed by ALEXks
parent f5d2ecf549
commit 9dbbe9fcdc
4 changed files with 6 additions and 4 deletions

View File

@@ -325,7 +325,7 @@ static void getModuleSymbols(SgStatement* func, set<SgSymbol*>& symbs)
}
}
const set<SgSymbol*>& getModuleSymbols(SgStatement *func)
set<SgSymbol*> getModuleSymbols(SgStatement *func)
{
auto it = symbolsForFunc.find(func->symbol()->identifier());
if (it != symbolsForFunc.end())