1
0
Fork 0

some comments

This commit is contained in:
Jan Steemann 2014-08-12 16:19:48 +02:00
parent cb56e2175f
commit 6400912c3a
2 changed files with 5 additions and 1 deletions

View File

@ -269,6 +269,9 @@ namespace std {
case triagens::aql::AqlValue::RANGE: {
return a._range == b._range;
}
// case triagens::aql::AqlValue::EMPTY intentionally not handled here!
// (should fall through and fail!)
default: {
TRI_ASSERT(false);
return true;

View File

@ -851,7 +851,8 @@ void V8Executor::generateCodeNode (AstNode const* node) {
break;
case NODE_TYPE_VARIABLE:
// we're not expecting a variable here
case NODE_TYPE_PARAMETER:
// we're not expecting these types here
THROW_ARANGO_EXCEPTION(TRI_ERROR_INTERNAL);
default: