From cf79ef33e2b5e7feab7ee6fe62bbda7451daa3af Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 29 Oct 2014 13:15:52 +0100 Subject: [PATCH] removed TODO --- arangod/Aql/AstNode.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/arangod/Aql/AstNode.cpp b/arangod/Aql/AstNode.cpp index 3c7da6edae..2558dcdb9f 100644 --- a/arangod/Aql/AstNode.cpp +++ b/arangod/Aql/AstNode.cpp @@ -1057,16 +1057,6 @@ bool AstNode::canThrow () const { // no sub-node throws, now check ourselves - if (type == NODE_TYPE_INDEXED_ACCESS) { - // TODO: validate whether this can actually throw - return true; - } - - if (type == NODE_TYPE_EXPAND) { - // TODO: validate whether this can actually throw - return true; - } - if (type == NODE_TYPE_FCALL) { // built-in functions may or may not throw auto func = static_cast(getData()); @@ -1078,6 +1068,7 @@ bool AstNode::canThrow () const { return true; } + // everything else does not throw! return false; }