Skip to content

Commit

Permalink
ARROW-1144: [C++] Remove unused variable
Browse files Browse the repository at this point in the history
Author: Phillip Cloud <[email protected]>

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

a79aeba [Phillip Cloud] ARROW-1144: [C++] Remove unused variable
  • Loading branch information
cpcloud authored and wesm committed Jun 23, 2017
1 parent 074dde4 commit e209e58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cpp/src/arrow/python/pandas_convert.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e209e58

Please sign in to comment.