diff options
author | pph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-29 17:53:26 +0000 |
---|---|---|
committer | pph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-29 17:53:26 +0000 |
commit | 4bc5fd5c91797dc87cd4c599f3bc3aa25b78e09c (patch) | |
tree | bf1a8810ac44a09c5f101f661f19b77249ba4520 /net/socket_stream | |
parent | 9091a704d6005973e5f4d5ec75edc256d198df02 (diff) | |
download | chromium_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.cc | 10 |
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; |