Replace void cast by maybe_unused

This commit is contained in:
Leonardo Alt
2020-01-09 13:41:30 +01:00
parent 17158995b5
commit a02308cfa5
3 changed files with 4 additions and 6 deletions
+1 -2
View File
@@ -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 (...)
{