mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disable state mutability warning for functions with empty body
This commit is contained in:
@@ -4,4 +4,3 @@ contract c {
|
||||
function f() public mod1(7) mod2 { }
|
||||
}
|
||||
// ----
|
||||
// Warning: (135-171): Function state mutability can be restricted to view
|
||||
|
||||
Reference in New Issue
Block a user