Tracker: Fixed CachedEntryIterator::GetNextEntry() debug build.
* A "style fix" introduced in 54e2dd7272
broke the debug version by reversing the assertion logic.
This commit is contained in:
@@ -167,8 +167,8 @@ CachedEntryIterator::~CachedEntryIterator()
|
|||||||
status_t
|
status_t
|
||||||
CachedEntryIterator::GetNextEntry(BEntry* result, bool traverse)
|
CachedEntryIterator::GetNextEntry(BEntry* result, bool traverse)
|
||||||
{
|
{
|
||||||
ASSERT(fDirentBuffer != NULL);
|
ASSERT(fDirentBuffer == NULL);
|
||||||
ASSERT(fEntryRefBuffer != NULL);
|
ASSERT(fEntryRefBuffer == NULL);
|
||||||
|
|
||||||
if (fEntryBuffer == NULL) {
|
if (fEntryBuffer == NULL) {
|
||||||
fEntryBuffer = new BEntry [fCacheSize];
|
fEntryBuffer = new BEntry [fCacheSize];
|
||||||
|
|||||||
Reference in New Issue
Block a user