summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache_test_util.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 23:57:02 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 23:57:02 +0000
commitd149ce8b84a37bb8654f7014bc8e4f229f106f72 (patch)
treefd10d795c92db5cc7425db1cf18cd5ee539a95d3 /net/disk_cache/disk_cache_test_util.cc
parent7de6dd37b467971c9cdf5bed1ee466bdbbe9d42e (diff)
downloadchromium_src-d149ce8b84a37bb8654f7014bc8e4f229f106f72.zip
chromium_src-d149ce8b84a37bb8654f7014bc8e4f229f106f72.tar.gz
chromium_src-d149ce8b84a37bb8654f7014bc8e4f229f106f72.tar.bz2
Fix 15 coverity complaints.
Most of the changes are cosmetic, but there is also a memory leak in CreateExpiredServer. BUG=none TEST=none Review URL: http://codereview.chromium.org/153001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19788 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_cache_test_util.cc')
-rw-r--r--net/disk_cache/disk_cache_test_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/disk_cache_test_util.cc b/net/disk_cache/disk_cache_test_util.cc
index e4d3fb7..74de170 100644
--- a/net/disk_cache/disk_cache_test_util.cc
+++ b/net/disk_cache/disk_cache_test_util.cc
@@ -19,7 +19,7 @@ namespace {
std::wstring BuildCachePath(const std::wstring& name) {
FilePath path;
- PathService::Get(base::DIR_TEMP, &path);
+ PathService::Get(base::DIR_TEMP, &path); // Ignore return value;
path = path.Append(FilePath::FromWStringHack(name));
if (!file_util::PathExists(path))
file_util::CreateDirectory(path);