Skip to content

Commit

Permalink
Rename 'ret' to 'mod'.
Browse files Browse the repository at this point in the history
For clarity.
  • Loading branch information
hainest committed Oct 8, 2023
1 parent 1970192 commit 04f0160
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions symtabAPI/src/Symtab.C
Original file line number Diff line number Diff line change
Expand Up @@ -810,11 +810,11 @@ Module *Symtab::getOrCreateModule(const std::string &modName,
create_printf("%s[%d]: Module '%s' at location 0x'%zx' not found. Creating new module.\n",
FILE__, __LINE__, modName.c_str());

Module *ret = new Module(lang_Unknown, modAddr, modName, this);
Module *mod = new Module(lang_Unknown, modAddr, modName, this);

impl->modules.insert(ret);
impl->modules.insert(mod);

return ret;
return mod;
}

Symtab::Symtab(std::string filename, bool defensive_bin, bool &err) : Symtab()
Expand Down

0 comments on commit 04f0160

Please sign in to comment.