mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 03:59:19 +02:00
refactor(sonar): remove dead stores (cpp:S1854)
Side effects (e.g. LISTLINE++) are kept.
This commit is contained in:
@@ -315,7 +315,6 @@ basic_controller::run() -> int {
|
||||
break;
|
||||
}
|
||||
auto &target { element( operation.element ) };
|
||||
auto const initialstate { target.input() };
|
||||
target.input() = m_accumulator.back();
|
||||
// additional operations for advanced element types
|
||||
switch( (basic_element::type_e)target.data.index() ) {
|
||||
|
||||
Reference in New Issue
Block a user