Code cleanup - mainly dead store removal; NFC

scan-build found a few dead stores that can be easily cleaned-up
This commit is contained in:
Paulo Matos committed 2024-01-31 08:35:55 +00:00
1 parent 3db31a655c
commit e4560ed0c8
8 files changed
+11 -14

No files matched your search

+2 -2
View File
@@ -505,8 +505,8 @@ class IRParser: public FEXCore::IR::IREmitter {
}
if (Def.HasArgs) {
RemainingLine = FEXCore::StringUtils::Trim(RemainingLine.substr(CurrentPos));
CurrentPos = 0;
RemainingLine =
FEXCore::StringUtils::Trim(RemainingLine.substr(CurrentPos));
if (RemainingLine.empty()) {
// How did we get here?
Def.HasArgs = false;