From 53537864a2b7322c58248ea8c9937d13aca7ca61 Mon Sep 17 00:00:00 2001 From: Leonardo Alt Date: Wed, 12 Dec 2018 12:02:47 +0100 Subject: Disable unused var warning for functions with empty body --- .../parsing/multiple_functions_natspec_documentation.sol | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol') diff --git a/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol b/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol index 85d9e6a8..c236846c 100644 --- a/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol +++ b/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol @@ -10,14 +10,6 @@ contract test { function functionName4(bytes32 input) public returns (bytes32 out) {} } // ---- -// Warning: (97-110): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (128-139): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (203-216): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (234-245): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (304-317): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (335-346): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (410-423): Unused function parameter. Remove or comment out the variable name to silence this warning. -// Warning: (441-452): Unused function parameter. Remove or comment out the variable name to silence this warning. // Warning: (74-143): Function state mutability can be restricted to pure // Warning: (180-249): Function state mutability can be restricted to pure // Warning: (281-350): Function state mutability can be restricted to pure -- cgit From 508aae8a6709f4758753bb1e2ac1f613043c6750 Mon Sep 17 00:00:00 2001 From: Leonardo Alt Date: Wed, 12 Dec 2018 12:03:59 +0100 Subject: Disable state mutability warning for functions with empty body --- .../syntaxTests/parsing/multiple_functions_natspec_documentation.sol | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol') diff --git a/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol b/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol index c236846c..ba090c53 100644 --- a/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol +++ b/test/libsolidity/syntaxTests/parsing/multiple_functions_natspec_documentation.sol @@ -10,7 +10,3 @@ contract test { function functionName4(bytes32 input) public returns (bytes32 out) {} } // ---- -// Warning: (74-143): Function state mutability can be restricted to pure -// Warning: (180-249): Function state mutability can be restricted to pure -// Warning: (281-350): Function state mutability can be restricted to pure -// Warning: (387-456): Function state mutability can be restricted to pure -- cgit