summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/entry_impl.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:22:33 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 23:22:33 +0000
commit9b2dda1d525555d236ebaff7cf6f658937383549 (patch)
tree9c92a3f82a874e0bcac459de4abcaaaca4d12f12 /net/disk_cache/entry_impl.cc
parent86cbe78d10026df1273c3939d967c6d1faeb82dd (diff)
downloadchromium_src-9b2dda1d525555d236ebaff7cf6f658937383549.zip
chromium_src-9b2dda1d525555d236ebaff7cf6f658937383549.tar.gz
chromium_src-9b2dda1d525555d236ebaff7cf6f658937383549.tar.bz2
Disk cache: A few minor fixes to make coverity happy.
Review URL: http://codereview.chromium.org/48155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/entry_impl.cc')
-rw-r--r--net/disk_cache/entry_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/entry_impl.cc b/net/disk_cache/entry_impl.cc
index 2e852a4..d82cb48 100644
--- a/net/disk_cache/entry_impl.cc
+++ b/net/disk_cache/entry_impl.cc
@@ -579,9 +579,9 @@ void EntryImpl::SetTimes(base::Time last_used, base::Time last_modified) {
}
bool EntryImpl::CreateDataBlock(int index, int size) {
- Addr address(entry_.Data()->data_addr[index]);
DCHECK(index >= 0 && index < NUM_STREAMS);
+ Addr address(entry_.Data()->data_addr[index]);
if (!CreateBlock(size, &address))
return false;