arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject arrow git commit: ARROW-1144: [C++] Remove unused variable
Date Fri, 23 Jun 2017 15:11:02 GMT
Repository: arrow
Updated Branches:
  refs/heads/master 074dde41c -> e209e5865


ARROW-1144: [C++] Remove unused variable

Author: Phillip Cloud <cpcloud@gmail.com>

Closes #774 from cpcloud/ARROW-1144 and squashes the following commits:

a79aebaa [Phillip Cloud] ARROW-1144: [C++] Remove unused variable


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/e209e586
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/e209e586
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/e209e586

Branch: refs/heads/master
Commit: e209e5865ea58e57925cae24d4bf3f63d58ee21d
Parents: 074dde4
Author: Phillip Cloud <cpcloud@gmail.com>
Authored: Fri Jun 23 11:10:57 2017 -0400
Committer: Wes McKinney <wes.mckinney@twosigma.com>
Committed: Fri Jun 23 11:10:57 2017 -0400

----------------------------------------------------------------------
 cpp/src/arrow/python/pandas_convert.cc | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/e209e586/cpp/src/arrow/python/pandas_convert.cc
----------------------------------------------------------------------
diff --git a/cpp/src/arrow/python/pandas_convert.cc b/cpp/src/arrow/python/pandas_convert.cc
index 6b0e342..654c392 100644
--- a/cpp/src/arrow/python/pandas_convert.cc
+++ b/cpp/src/arrow/python/pandas_convert.cc
@@ -1310,7 +1310,6 @@ inline Status ConvertNulls(const ChunkedArray& data, PyObject**
out_values) {
   for (int c = 0; c < data.num_chunks(); c++) {
     std::shared_ptr<Array> arr = data.chunk(c);
 
-    const bool has_nulls = data.null_count() > 0;
     for (int64_t i = 0; i < arr->length(); ++i) {
       // All values are null
       Py_INCREF(Py_None);


Mime
View raw message