diff --git a/cpp/src/arrow/type.cc b/cpp/src/arrow/type.cc index 295559ce2dba3..47bf52660ffe9 100644 --- a/cpp/src/arrow/type.cc +++ b/cpp/src/arrow/type.cc @@ -1851,7 +1851,7 @@ Status Schema::CanReferenceFieldByName(const std::string& name) const { if (GetFieldByName(name) == nullptr) { return Status::Invalid("Field named '", name, "' not found or not unique in the schema."); - } + } return Status::OK(); }