EatTheBlocks Forum

What does 'this' on its own mean?

    abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

This is part of Safemoon smart contract. Does anyone know what this in function _msgData() is for?

I understand address(this) which means the address of this contract. But this own its own means what?

Still no answer? Please share your knowledge if you know about this.