summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_session_pool.cc1
-rw-r--r--net/spdy/spdy_test_util.cc2
2 files changed, 0 insertions, 3 deletions
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index 957d764..b84d6ad 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -183,7 +183,6 @@ void SpdySessionPool::Remove(const scoped_refptr<SpdySession>& session) {
Value* SpdySessionPool::SpdySessionPoolInfoToValue() const {
ListValue* list = new ListValue();
- SpdySessionsMap::const_iterator spdy_session_pool_it = sessions_.begin();
for (SpdySessionsMap::const_iterator it = sessions_.begin();
it != sessions_.end(); ++it) {
SpdySessionList* sessions = it->second;
diff --git a/net/spdy/spdy_test_util.cc b/net/spdy/spdy_test_util.cc
index d959d5d..e8c5138 100644
--- a/net/spdy/spdy_test_util.cc
+++ b/net/spdy/spdy_test_util.cc
@@ -764,7 +764,6 @@ int ConstructSpdyReplyString(const char* const extra_headers[],
char* buffer,
int buffer_length) {
int packet_size = 0;
- int header_count = 0;
char* buffer_write = buffer;
int buffer_left = buffer_length;
spdy::SpdyHeaderBlock headers;
@@ -772,7 +771,6 @@ int ConstructSpdyReplyString(const char* const extra_headers[],
return 0;
// Copy in the extra headers.
AppendHeadersToSpdyFrame(extra_headers, extra_header_count, &headers);
- header_count = headers.size();
// The iterator gets us the list of header/value pairs in sorted order.
spdy::SpdyHeaderBlock::iterator next = headers.begin();
spdy::SpdyHeaderBlock::iterator last = headers.end();