SmartContractSecurity / SWC-registry

Smart Contract Weakness Classification and Test Cases
https://swcregistry.io/
MIT License
838 stars 165 forks source link

Statements with no effects #228

Open maurelian opened 4 years ago

maurelian commented 4 years ago

It's easy to see how this could go wrong: https://github.com/ethereum/solidity/issues/7096

This is a more generalized description of the issue: https://github.com/ethereum/solidity/issues/2707

kadenzipfel commented 4 years ago

https://github.com/SmartContractSecurity/SWC-registry/pull/236