Disable unused var warning for functions with empty body

This commit is contained in:
Leonardo Alt
2018-12-12 14:43:44 +01:00
parent 85291bcb2d
commit 53537864a2
16 changed files with 14 additions and 44 deletions
@@ -3,7 +3,4 @@ contract test {
function functionName(bytes20 arg1, address addr) public view returns (int id) { }
}
// ----
// Warning: (58-70): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (72-84): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (107-113): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (36-118): Function state mutability can be restricted to pure