Avoid "unneccesary parentheses in declaration of" warning with keeping a temporary variable.

This commit is contained in:
Julius Huelsmann 2018-05-17 12:19:29 +02:00 committed by Alex Beregszaszi
parent 9e26f5fa0a
commit 1d3a37faff

View File

@ -606,7 +606,9 @@ bool Parser::isValidNumberLiteral(string const& _literal)
{
try
{
u256(_literal);
// Try to convert _literal to u256.
auto tmp = u256(_literal);
(void) tmp;
}
catch (...)
{