diff --git a/slither/detectors/all_detectors.py b/slither/detectors/all_detectors.py index aa080928b1..f58aabd032 100644 --- a/slither/detectors/all_detectors.py +++ b/slither/detectors/all_detectors.py @@ -79,5 +79,6 @@ from .operations.missing_zero_address_validation import MissingZeroAddressValidation from .functions.dead_code import DeadCode from .statements.write_after_write import WriteAfterWrite + # # diff --git a/slither/detectors/statements/write_after_write.py b/slither/detectors/statements/write_after_write.py index c4e0021a54..120fc905c7 100644 --- a/slither/detectors/statements/write_after_write.py +++ b/slither/detectors/statements/write_after_write.py @@ -22,6 +22,7 @@ def _remove_states(written: Dict[Variable, Node]): if isinstance(key, StateVariable): del written[key] + def _handle_ir( ir: Operation, written: Dict[Variable, Node],