Fix warning from clang-tidy.

Original code is left there, commented out, since the intent isn't clear.
This commit is contained in:
Stephen Anthony 2024-06-14 21:41:53 -02:30
parent 903f376958
commit b477cb56bc
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ string CartridgeJANEWidget::hotspotStr(int bank, int, bool prefix)
info << (prefix ? "(hotspot " : "(")
<< "$" << Common::Base::HEX1 << (hotspot + (bank < 2 ? bank : bank + 6))
<< (prefix ? ")" : ")");
<< ")";
// << (prefix ? ")" : ")"); TODO: misc-redundant-expression
// same logic for true and false
return info.str();
}