From 850954c5f8e0088ca9f6bd4872f1514cd98e7a40 Mon Sep 17 00:00:00 2001 From: Kenta Murata Date: Tue, 6 Oct 2020 09:25:34 +0900 Subject: [PATCH] Fix format --- cpp/src/arrow/ipc/metadata_internal.cc | 3 ++- cpp/src/arrow/ipc/tensor_stream_fuzz.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/ipc/metadata_internal.cc b/cpp/src/arrow/ipc/metadata_internal.cc index a56d39cb0fe7e..04e4550387dce 100644 --- a/cpp/src/arrow/ipc/metadata_internal.cc +++ b/cpp/src/arrow/ipc/metadata_internal.cc @@ -1345,7 +1345,8 @@ Status GetTensorMetadata(const Buffer& metadata, std::shared_ptr* type if (tensor->strides() && tensor->strides()->size() > 0) { if (tensor->strides()->size() != ndim) { - return Status::IOError("The sizes of shape and strides in a tensor are mismatched."); + return Status::IOError( + "The sizes of shape and strides in a tensor are mismatched."); } for (decltype(ndim) i = 0; i < ndim; ++i) { diff --git a/cpp/src/arrow/ipc/tensor_stream_fuzz.cc b/cpp/src/arrow/ipc/tensor_stream_fuzz.cc index 068d7bf39e53d..7524940e17da6 100644 --- a/cpp/src/arrow/ipc/tensor_stream_fuzz.cc +++ b/cpp/src/arrow/ipc/tensor_stream_fuzz.cc @@ -22,7 +22,8 @@ #include "arrow/util/macros.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { - auto status = arrow::ipc::internal::FuzzIpcTensorStream(data, static_cast(size)); + auto status = + arrow::ipc::internal::FuzzIpcTensorStream(data, static_cast(size)); ARROW_UNUSED(status); return 0; }