2
function tokenFallback(address _from, uint _value, bytes _data) {
    (_from);
    (_value);
    (_data);
 }

From https://etherscan.io/address/0xd1dd82d1ded8f40c200b89455050e9c18d918504#code.

2
  • 3
    They do nothing, it is only to silence the warning from solidity linter that some arguments are not used.
    – Ismael
    Sep 8 '17 at 19:13
  • Ah thank you! If you want to make that an answer, I'll accept it.
    – user1234
    Sep 8 '17 at 23:45
2

It does nothing. It is only used to silence the warning from solidity linter that some arguments are not used.

The compiler should smart enough to not generate any code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.