From a0bb8d09e3307e6d061f91c090aadecde64abc92 Mon Sep 17 00:00:00 2001 From: Shylock Hg <33566796+Shylock-Hg@users.noreply.github.com> Date: Wed, 11 May 2022 17:37:21 +0800 Subject: [PATCH] Remove unused code. --- src/graph/util/ExpressionUtils.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/graph/util/ExpressionUtils.cpp b/src/graph/util/ExpressionUtils.cpp index 0aadfc9105a..945e8eebac2 100644 --- a/src/graph/util/ExpressionUtils.cpp +++ b/src/graph/util/ExpressionUtils.cpp @@ -1210,30 +1210,25 @@ bool ExpressionUtils::checkExprDepth(const Expression *expr) { /*static*/ bool ExpressionUtils::isVidPredication(const Expression *expr) { if (DCHECK_NOTNULL(expr)->kind() != Expression::Kind::kRelIn && expr->kind() != Expression::Kind::kRelEQ) { - DLOG(ERROR) << "DEBUG POINT:0"; return false; } const auto *relExpr = static_cast(expr); if (relExpr->left()->kind() != Expression::Kind::kFunctionCall) { - DLOG(ERROR) << "DEBUG POINT:1"; return false; } const auto *fCallExpr = static_cast(relExpr->left()); if (fCallExpr->name() != "id" || fCallExpr->args()->numArgs() != 1 || fCallExpr->args()->args().front()->kind() != Expression::Kind::kLabel) { - DLOG(ERROR) << "DEBUG POINT:2"; return false; } if (expr->kind() == Expression::Kind::kRelIn) { // id(V) IN [List] if (relExpr->right()->kind() != Expression::Kind::kList) { - DLOG(ERROR) << "DEBUG POINT:3"; return false; } } else if (expr->kind() == Expression::Kind::kRelEQ) { // id(V) = Value if (relExpr->right()->kind() != Expression::Kind::kConstant) { - DLOG(ERROR) << "DEBUG POINT:4"; return false; } }