webasm-solidity icon indicating copy to clipboard operation
webasm-solidity copied to clipboard

Error and warnings when compiling contracts

Open johba37 opened this issue 7 years ago • 1 comments

when running sh compile.sh with solc 0.4.19 i get the following error and warnings:

fs.sol:126:43: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
   function debug_forwardData(bytes32 id, address a) public returns (uint) {
                                          ^-------^
fs.sol:126:4: Warning: Function state mutability can be restricted to view
   function debug_forwardData(bytes32 id, address a) public returns (uint) {
   ^
Spanning multiple lines.
Error: Documented parameter "limit
@param" not found in the parameter list of the function.

johba37 avatar Jan 27 '18 20:01 johba37

Thanks for report and PR. I think it was fixed in #74

mrsmkl avatar Jan 29 '18 09:01 mrsmkl