aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/empty_function.sol
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-12-12 19:02:47 +0800
committerLeonardo Alt <leo@ethereum.org>2018-12-12 21:43:44 +0800
commit53537864a2b7322c58248ea8c9937d13aca7ca61 (patch)
tree1dc98be3121903626eec392a4e9caab74457522a /test/libsolidity/syntaxTests/parsing/empty_function.sol
parent85291bcb2d0e92c8d515887a00174d46f974500d (diff)
downloaddexon-solidity-53537864a2b7322c58248ea8c9937d13aca7ca61.tar.gz
dexon-solidity-53537864a2b7322c58248ea8c9937d13aca7ca61.tar.zst
dexon-solidity-53537864a2b7322c58248ea8c9937d13aca7ca61.zip
Disable unused var warning for functions with empty body
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/empty_function.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/empty_function.sol3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/empty_function.sol b/test/libsolidity/syntaxTests/parsing/empty_function.sol
index 320a0bcc..d1027307 100644
--- a/test/libsolidity/syntaxTests/parsing/empty_function.sol
+++ b/test/libsolidity/syntaxTests/parsing/empty_function.sol
@@ -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