Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B9FBC200CB0 for ; Fri, 23 Jun 2017 17:11:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B75A2160BD4; Fri, 23 Jun 2017 15:11:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 307AC160BCA for ; Fri, 23 Jun 2017 17:11:05 +0200 (CEST) Received: (qmail 10634 invoked by uid 500); 23 Jun 2017 15:11:04 -0000 Mailing-List: contact commits-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list commits@arrow.apache.org Received: (qmail 10625 invoked by uid 99); 23 Jun 2017 15:11:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2017 15:11:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2C991DFE8F; Fri, 23 Jun 2017 15:11:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wesm@apache.org To: commits@arrow.apache.org Message-Id: <89ee2309c505467ca8207b33b827e15e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: arrow git commit: ARROW-1144: [C++] Remove unused variable Date: Fri, 23 Jun 2017 15:11:02 +0000 (UTC) archived-at: Fri, 23 Jun 2017 15:11:05 -0000 Repository: arrow Updated Branches: refs/heads/master 074dde41c -> e209e5865 ARROW-1144: [C++] Remove unused variable Author: Phillip Cloud 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 Authored: Fri Jun 23 11:10:57 2017 -0400 Committer: Wes McKinney 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 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);