aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/single_function_param.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/single_function_param.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/single_function_param.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/single_function_param.sol2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/single_function_param.sol b/test/libsolidity/syntaxTests/parsing/single_function_param.sol
index 955f20f0..b64fffce 100644
--- a/test/libsolidity/syntaxTests/parsing/single_function_param.sol
+++ b/test/libsolidity/syntaxTests/parsing/single_function_param.sol
@@ -3,6 +3,4 @@ contract test {
function functionName(bytes32 input) public returns (bytes32 out) {}
}
// ----
-// Warning: (58-71): Unused function parameter. Remove or comment out the variable name to silence this warning.
-// Warning: (89-100): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Warning: (36-104): Function state mutability can be restricted to pure