btrfs: Init status, prevent from unitialized check

This commit is contained in:
hyche 2017-12-15 06:33:47 +07:00 committed by waddlesplash
parent b568492fbd
commit 5686d4e190

View File

@ -1001,7 +1001,7 @@ status_t
TreeIterator::_GetEntry(btree_traversing type, void** _value, uint32* _size,
uint32* _offset)
{
status_t status;
status_t status = B_OK;
if (fIteratorStatus == B_NO_INIT) {
status = _Traverse(type);
if (status != B_OK)