From fd111df16daa7a15c336e8f82608d089f773377a Mon Sep 17 00:00:00 2001 From: Hadrien Croubois Date: Mon, 14 Jun 2021 23:44:00 +0200 Subject: [PATCH] Remove unecessary code from Context (#2718) --- contracts/utils/Context.sol | 1 - 1 file changed, 1 deletion(-) diff --git a/contracts/utils/Context.sol b/contracts/utils/Context.sol index adb36f46a..eb48cb193 100644 --- a/contracts/utils/Context.sol +++ b/contracts/utils/Context.sol @@ -18,7 +18,6 @@ abstract contract Context { } 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; } }