This commit is contained in:
David Schwartz
2013-07-24 19:51:04 -07:00
parent 5600a0e617
commit 0a9545c956

View File

@@ -961,13 +961,6 @@ bool LedgerEntrySet::dirNext (
if (!sleNext)
{ // This should never happen
WriteLog (lsFATAL, LedgerEntrySet) << "Corrupt directory: index:" << uRootIndex << " next:" << uNodeNext;
#if 0
if (!read_only)
{
sleNode->setFieldU64 (sfIndexNext, 0);
entryModify(sleNode);
}
#endif
return false;
}
@@ -978,7 +971,6 @@ bool LedgerEntrySet::dirNext (
uEntryIndex = vuiIndexes[uDirEntry++];
WriteLog (lsTRACE, LedgerEntrySet) << boost::str (boost::format ("dirNext: uDirEntry=%d uEntryIndex=%s") % uDirEntry % uEntryIndex);
// FIXME
return true;
}