summaryrefslogtreecommitdiffstats
path: root/base/system_monitor/system_monitor_unittest.cc
diff options
context:
space:
mode:
authorpph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-25 04:33:18 +0000
committerpph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-25 04:33:18 +0000
commit9f7785d879330392b52bd62efdd73d58aff4c205 (patch)
tree4e969ccbea500f6e69c2e4c92bfd4eaa4042ba19 /base/system_monitor/system_monitor_unittest.cc
parent18c170d8b8d5dd148cb1e4f19ef65f0d9d6f5875 (diff)
downloadchromium_src-9f7785d879330392b52bd62efdd73d58aff4c205.zip
chromium_src-9f7785d879330392b52bd62efdd73d58aff4c205.tar.gz
chromium_src-9f7785d879330392b52bd62efdd73d58aff4c205.tar.bz2
Clean up of -Wunused-but-set-variable (gcc 4.6)
BUG=80071 TEST=base_unittests Review URL: http://codereview.chromium.org/7232025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/system_monitor/system_monitor_unittest.cc')
-rw-r--r--base/system_monitor/system_monitor_unittest.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/system_monitor/system_monitor_unittest.cc b/base/system_monitor/system_monitor_unittest.cc
index 9517247..8756c58 100644
--- a/base/system_monitor/system_monitor_unittest.cc
+++ b/base/system_monitor/system_monitor_unittest.cc
@@ -47,8 +47,6 @@ TEST(SystemMonitor, PowerNotifications) {
// Initialize a message loop for this to run on.
MessageLoop loop;
- // Initialize time() since it registers as a SystemMonitor observer.
- base::Time now = base::Time::Now();
SystemMonitor system_monitor;
PowerTest test[kObservers];