You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2020/06/06 01:38:52 UTC
[arrow] branch master updated: ARROW-8825: [C++] Mark parameter as
unused
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 29316d1 ARROW-8825: [C++] Mark parameter as unused
29316d1 is described below
commit 29316d1c041d8a1dedd18dbc3e582914fb21ec4b
Author: Wes McKinney <we...@apache.org>
AuthorDate: Fri Jun 5 20:38:21 2020 -0500
ARROW-8825: [C++] Mark parameter as unused
Supersedes #7202
Closes #7361 from wesm/ARROW-8825
Authored-by: Wes McKinney <we...@apache.org>
Signed-off-by: Wes McKinney <we...@apache.org>
---
cpp/src/arrow/array/array_nested.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cpp/src/arrow/array/array_nested.h b/cpp/src/arrow/array/array_nested.h
index 607067c..391dfaf 100644
--- a/cpp/src/arrow/array/array_nested.h
+++ b/cpp/src/arrow/array/array_nested.h
@@ -248,7 +248,10 @@ class ARROW_EXPORT FixedSizeListArray : public Array {
i += data_->offset;
return static_cast<int32_t>(list_size_ * i);
}
- int32_t value_length(int64_t i = 0) const { return list_size_; }
+ int32_t value_length(int64_t i = 0) const {
+ ARROW_UNUSED(i);
+ return list_size_;
+ }
std::shared_ptr<Array> value_slice(int64_t i) const {
return values_->Slice(value_offset(i), value_length(i));
}