From bed37d445758e86ce68d0b589441e64f2fe8d0ae Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 20 Aug 2009 19:58:20 +0000 Subject: 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 --- net/socket/client_socket_pool_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/socket') 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; -- cgit v1.1