]> Git Repo - secp256k1.git/commitdiff
Remove redundant conditional expression
authorDag Robole <[email protected]>
Thu, 13 Jul 2017 16:00:03 +0000 (18:00 +0200)
committerDag Robole <[email protected]>
Thu, 13 Jul 2017 16:00:03 +0000 (18:00 +0200)
src/ecdsa_impl.h

index 453bb1188066f90f7b4648ac19c8e78212973e11..43d0c02c0a156abb0580fa00435b23d4d81e88ee 100644 (file)
@@ -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. */
This page took 0.026497 seconds and 4 git commands to generate.