[refactor] fix warings when compile with clang (#8069)

This commit is contained in:
Zhengguo Yang
2022-02-19 11:29:02 +08:00
committed by GitHub
parent 8892780091
commit 50864aca7d
200 changed files with 1750 additions and 2617 deletions

View File

@ -167,11 +167,7 @@ std::string ExtLiteral::get_largeint_string() {
}
EsPredicate::EsPredicate(ExprContext* context, const TupleDescriptor* tuple_desc, ObjectPool* pool)
: _context(context),
_disjuncts_num(0),
_tuple_desc(tuple_desc),
_es_query_status(Status::OK()),
_pool(pool) {}
: _context(context), _tuple_desc(tuple_desc), _es_query_status(Status::OK()), _pool(pool) {}
EsPredicate::~EsPredicate() {
for (int i = 0; i < _disjuncts.size(); i++) {