mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replace void cast by maybe_unused
This commit is contained in:
@@ -554,8 +554,7 @@ bool Parser::isValidNumberLiteral(string const& _literal)
|
||||
try
|
||||
{
|
||||
// Try to convert _literal to u256.
|
||||
auto tmp = u256(_literal);
|
||||
(void) tmp;
|
||||
[[maybe_unused]] auto tmp = u256(_literal);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user