Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Unified Diff: net/quic/crypto/cert_compressor.cc

Issue 941933002: win vs2015: fix variable shadowing warnings in net/quic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_server_config.cc » ('j') | net/quic/crypto/strike_register.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/cert_compressor.cc
diff --git a/net/quic/crypto/cert_compressor.cc b/net/quic/crypto/cert_compressor.cc
index 95bb55378bb71b9c916c992d198d8e271ac86aa3..cb44d355a8dd357b04e6bcbb34ed08c981bb54be 100644
--- a/net/quic/crypto/cert_compressor.cc
+++ b/net/quic/crypto/cert_compressor.cc
@@ -195,10 +195,10 @@ vector<CertEntry> MatchCerts(const vector<string>& certs,
uint64 hash = QuicUtils::FNV1a_64_Hash(i->data(), i->size());
// This assumes that the machine is little-endian.
- for (size_t i = 0; i < client_cached_cert_hashes.size();
- i += sizeof(uint64)) {
+ for (size_t j = 0; j < client_cached_cert_hashes.size();
+ j += sizeof(uint64)) {
uint64 cached_hash;
- memcpy(&cached_hash, client_cached_cert_hashes.data() + i,
+ memcpy(&cached_hash, client_cached_cert_hashes.data() + j,
sizeof(uint64));
if (hash != cached_hash) {
continue;
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_server_config.cc » ('j') | net/quic/crypto/strike_register.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698