From 2e1ccdca0d506e02adeef03e8eed355edfc6d0da Mon Sep 17 00:00:00 2001 From: Dag Robole Date: Thu, 13 Jul 2017 18:00:03 +0200 Subject: [PATCH] Remove redundant conditional expression --- src/ecdsa_impl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ecdsa_impl.h b/src/ecdsa_impl.h index 453bb1188066f..43d0c02c0a156 100644 --- a/src/ecdsa_impl.h +++ b/src/ecdsa_impl.h @@ -81,8 +81,6 @@ static int secp256k1_der_read_len(const unsigned char **sigp, const unsigned cha return -1; } while (lenleft > 0) { - if ((ret >> ((sizeof(size_t) - 1) * 8)) != 0) { - } ret = (ret << 8) | **sigp; if (ret + lenleft > (size_t)(sigend - *sigp)) { /* Result exceeds the length of the passed array. */