mirror of https://github.com/stella-emu/stella.git
Fix warning from clang-tidy.
Original code is left there, commented out, since the intent isn't clear.
This commit is contained in:
parent
903f376958
commit
b477cb56bc
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue