This is an automated email from the ASF dual-hosted git repository.
paziz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new c91c390 Coverity_1021917: closet_match can not be null at that
point
c91c390 is described below
commit c91c39061585b73d1eedc7a96906e72733f94204
Author: Syeda Persia Aziz <[email protected]>
AuthorDate: Wed May 17 21:07:47 2017 -0500
Coverity_1021917: closet_match can not be null at that point
---
iocore/cache/CacheDisk.cc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/iocore/cache/CacheDisk.cc b/iocore/cache/CacheDisk.cc
index 44329ed..551301d 100644
--- a/iocore/cache/CacheDisk.cc
+++ b/iocore/cache/CacheDisk.cc
@@ -271,9 +271,6 @@ CacheDisk::create_volume(int number, off_t size_in_blocks,
int scheme)
}
}
- if (!p && !closest_match)
- return nullptr;
-
if (!p && closest_match) {
/* allocate from the closest match */
q = closest_match;
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].