Unused function parameter `name`

in "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol", the function __ERC20Permit_init_unchained has an unused parameter name. is name just unused, or is there a mistake in the function definition?

1 Like

It is actually an unused parameter. The reason we haven't fixed this yet is that the code is generated automatically from the non-upgradeable Solidity code and it's a little harder to check if a variable is or isn't used, but it's in the roadmap to fix this.

2 Likes