Skip to content

Commit

Permalink
Update PPCSymbolDB.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialAmber committed Nov 2, 2024
1 parent 4ca00ad commit 7023307
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Core/Core/PowerPC/PPCSymbolDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,9 @@ bool PPCSymbolDB::LoadMap(const Core::CPUThreadGuard& guard, const std::string&
// Split the current name string into separate parts, and get the object name
// if it exists.
const std::vector<std::string> parts = SplitString(name, '\t');
size_t num_parts = parts.size();

const std::string name_string = std::string(StripWhitespace(parts[0]));
const std::string object_filename_string =
num_parts > 1 ? std::string(StripWhitespace(parts[1])) : "";
parts.size() > 1 ? std::string(StripWhitespace(parts[1])) : "";

// Check if this is a valid entry.
if (strlen(name) > 0)
Expand Down

0 comments on commit 7023307

Please sign in to comment.