1
0
Fork 0

removed some default cases

This commit is contained in:
Jan Steemann 2014-08-12 17:03:06 +02:00
parent 13849b2c77
commit d06dd817b0
1 changed files with 7 additions and 2 deletions

View File

@ -1439,10 +1439,15 @@ namespace triagens {
}
return out;
}
default: {
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "unexpected value in variable to iterate over");
case AqlValue::SHAPED:
case AqlValue::EMPTY: {
// error
break;
}
}
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "unexpected value in variable to iterate over");
}
////////////////////////////////////////////////////////////////////////////////