Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonLiTree committed Sep 19, 2023
1 parent c06d7f5 commit 3120977
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions be/src/util/jsonb_document.h
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,6 @@ inline unsigned int JsonbValue::size() const {
}

inline int JsonbValue::length() const {
if ((JsonbValue*)this == nullptr) return 0;
switch (type_) {
case JsonbType::T_Int8:
case JsonbType::T_Int16:
Expand Down Expand Up @@ -1266,7 +1265,6 @@ inline int JsonbValue::length() const {
}

inline bool JsonbValue::contains(JsonbValue* rhs) const {
if ((JsonbValue*)this == nullptr || rhs == nullptr) return false;
switch (type_) {
case JsonbType::T_Int8:
case JsonbType::T_Int16:
Expand Down

0 comments on commit 3120977

Please sign in to comment.