remove redundant check

This commit is contained in:
Christian Grothoff 2017-05-09 13:26:34 +02:00
parent 783642272d
commit a5fedfeeb8
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -186,8 +186,7 @@ parse_amount_nbo (void *cls,
}
if ( (value < 0) ||
(fraction < 0) ||
(value > UINT64_MAX) ||
(fraction > UINT32_MAX) )
(fraction > (json_int_t) UINT32_MAX) )
{
GNUNET_break_op (0);
return GNUNET_SYSERR;