| Index: net/quic/crypto/strike_register.cc
|
| diff --git a/net/quic/crypto/strike_register.cc b/net/quic/crypto/strike_register.cc
|
| index 702db7e9b46a22f467d56a23d7fbfcc23ea00c58..bc2dd69dc0b776c87a3e163495ee88038761f24c 100644
|
| --- a/net/quic/crypto/strike_register.cc
|
| +++ b/net/quic/crypto/strike_register.cc
|
| @@ -499,10 +499,10 @@ void StrikeRegister::ValidateTree(
|
| j != bits.end(); j++) {
|
| unsigned byte = j->first / 8;
|
| DCHECK_LE(byte, 0xffu);
|
| - bit = j->first % 8;
|
| + unsigned new_bit = j->first % 8;
|
| static const uint8 kMasks[8] =
|
| {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01};
|
| - CHECK_EQ((bytes[byte] & kMasks[bit]) != 0, j->second);
|
| + CHECK_EQ((bytes[byte] & kMasks[new_bit]) != 0, j->second);
|
| }
|
| } else {
|
| uint32 inter = i->child(child);
|
|
|