1
0
Fork 0

code simplification

This commit is contained in:
Jan Steemann 2015-01-24 14:02:48 +01:00
parent 0d8bf44215
commit ea0a5fa1d6
1 changed files with 5 additions and 12 deletions

View File

@ -220,21 +220,14 @@ static bool BytecodeShapeAccessor (TRI_shaper_t* shaper, TRI_shape_access_t* acc
}
LOG_TRACE("unknown attribute id '%ld'", (unsigned long) *paids);
TRI_DestroyVectorPointer(&ops);
accessor->_resultSid = TRI_SHAPE_ILLEGAL;
accessor->_code = nullptr;
return true;
}
else {
TRI_DestroyVectorPointer(&ops);
accessor->_resultSid = TRI_SHAPE_ILLEGAL;
accessor->_code = nullptr;
TRI_DestroyVectorPointer(&ops);
return true;
}
accessor->_resultSid = TRI_SHAPE_ILLEGAL;
accessor->_code = nullptr;
return true;
}
// travel attribute path to the end