Unverified Commit fd111df1 by Hadrien Croubois Committed by GitHub

Remove unecessary code from Context (#2718)

parent 17958ada
...@@ -18,7 +18,6 @@ abstract contract Context { ...@@ -18,7 +18,6 @@ abstract contract Context {
} }
function _msgData() internal view virtual returns (bytes calldata) { function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data; return msg.data;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment