osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3527) [R] Unused variables in R-package C++ code


James Lamb created ARROW-3527:
---------------------------------

             Summary: [R] Unused variables in R-package C++ code
                 Key: ARROW-3527
                 URL: https://issues.apache.org/jira/browse/ARROW-3527
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: James Lamb


Tonight I noticed a few "unused variable" compiler warnings tonight while building the arrow R package.

 
{code:java}
DataType.cpp:118:7: warning: unused variable 'n' [-Wunused-variable]
int n = x.size();

RecordBatch.cpp:132:7: warning: unused variable 'nc' [-Wunused-variable]
int nc = tbl.size();
{code}
Creating this issue to accompany the PR I'll submit to propose removing these calls.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)