summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-20 19:58:20 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-20 19:58:20 +0000
commitbed37d445758e86ce68d0b589441e64f2fe8d0ae (patch)
tree3ab2571543f0817773c550fcd3d6e08a8b8ee9d7 /net/socket
parent7d5af0f47c041dd96c7dfe18ddc2b3facc89a263 (diff)
downloadchromium_src-bed37d445758e86ce68d0b589441e64f2fe8d0ae.zip
chromium_src-bed37d445758e86ce68d0b589441e64f2fe8d0ae.tar.gz
chromium_src-bed37d445758e86ce68d0b589441e64f2fe8d0ae.tar.bz2
Fix gcc warning about possible unused variable experienced with Apple gcc 4.2
in an -O3 experiment. Review URL: http://codereview.chromium.org/173125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r--net/socket/client_socket_pool_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/client_socket_pool_base.cc b/net/socket/client_socket_pool_base.cc
index 7ceaee5..533d103 100644
--- a/net/socket/client_socket_pool_base.cc
+++ b/net/socket/client_socket_pool_base.cc
@@ -562,7 +562,7 @@ void ClientSocketPoolBaseHelper::OnAvailableSocketSlot(
const std::string& group_name, Group* group) {
if (may_have_stalled_group_) {
std::string top_group_name;
- Group* top_group;
+ Group* top_group = NULL;
int stalled_group_count = FindTopStalledGroup(&top_group, &top_group_name);
if (stalled_group_count <= 1)
may_have_stalled_group_ = false;