Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: net/disk_cache/entry_impl.cc

Issue 48155: Disk cache: A few minor fixes to make coverity happy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/file_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/entry_impl.cc
===================================================================
--- net/disk_cache/entry_impl.cc (revision 12016)
+++ net/disk_cache/entry_impl.cc (working copy)
@@ -579,9 +579,9 @@
}
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;
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/file_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698