summaryrefslogtreecommitdiffstats
path: root/net/socket_stream
diff options
context:
space:
mode:
authorpph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 17:53:26 +0000
committerpph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 17:53:26 +0000
commit4bc5fd5c91797dc87cd4c599f3bc3aa25b78e09c (patch)
treebf1a8810ac44a09c5f101f661f19b77249ba4520 /net/socket_stream
parent9091a704d6005973e5f4d5ec75edc256d198df02 (diff)
downloadchromium_src-4bc5fd5c91797dc87cd4c599f3bc3aa25b78e09c.zip
chromium_src-4bc5fd5c91797dc87cd4c599f3bc3aa25b78e09c.tar.gz
chromium_src-4bc5fd5c91797dc87cd4c599f3bc3aa25b78e09c.tar.bz2
GCC 4.6 -Wunused-but-set-variable cleanup.
BUG=87490 TEST=net_unittests Review URL: http://codereview.chromium.org/7273064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket_stream')
-rw-r--r--net/socket_stream/socket_stream_metrics_unittest.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/socket_stream/socket_stream_metrics_unittest.cc b/net/socket_stream/socket_stream_metrics_unittest.cc
index cf4544c..5646302 100644
--- a/net/socket_stream/socket_stream_metrics_unittest.cc
+++ b/net/socket_stream/socket_stream_metrics_unittest.cc
@@ -15,16 +15,6 @@ using base::StatisticsRecorder;
namespace net {
-TEST(SocketStreamMetricsTest, Initialize) {
- if (!StatisticsRecorder::IsActive()) {
- // Create the recorder if not yet started, as SocketStreamMetrics
- // relys on the StatisticsRecorder to be present. This is useful when
- // tests are run with --gtest_filter='SocketStreamMetricsTest*'.
- static StatisticsRecorder *recorder = NULL;
- recorder = new StatisticsRecorder;
- }
-}
-
TEST(SocketStreamMetricsTest, ProtocolType) {
Histogram* histogram;