gcc 4.6 warnings cleanup

BUG=87490
TEST=compile with gcc 4.6


Review URL: http://codereview.chromium.org/8050008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103513 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 928ca1d2c1f13f57b02b62576b0814b3337bedbd
diff --git a/base/tools_sanity_unittest.cc b/base/tools_sanity_unittest.cc
index bbcb3e5..249ae18 100644
--- a/base/tools_sanity_unittest.cc
+++ b/base/tools_sanity_unittest.cc
@@ -99,6 +99,7 @@
 
   // Without the |volatile|, clang optimizes away the next two lines.
   int* volatile foo = new int;
+  (void) foo;
   delete [] foo;
 }