summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authorpph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-02 14:38:05 +0000
committerpph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-02 14:38:05 +0000
commit7c75b4ce3dab78609129944ee91131e62ca36085 (patch)
tree7b667951f46397fafc6f6a187ebf5f258e4e3593 /net/spdy
parent894f634cee519f550410ee9bd98f76a3bd956736 (diff)
downloadchromium_src-7c75b4ce3dab78609129944ee91131e62ca36085.zip
chromium_src-7c75b4ce3dab78609129944ee91131e62ca36085.tar.gz
chromium_src-7c75b4ce3dab78609129944ee91131e62ca36085.tar.bz2
GCC 4.6 -Wunused-but-set-variable cleanup.
BUG=87490 TEST=net_unittests Review URL: http://codereview.chromium.org/7261018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91424 0039d316-1c4b-4281-b951-d872f2087c98
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();