Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Clang 13 build fails on unused var #31065

Closed
asfimport opened this issue Feb 7, 2022 · 1 comment
Closed

[C++] Clang 13 build fails on unused var #31065

asfimport opened this issue Feb 7, 2022 · 1 comment
Assignees
Milestone

Comments

@asfimport
Copy link
Collaborator

Just a small issue. When I build with clang 13 I get the following error from a unused var warning:

/Users/willjones/Documents/arrows/arrow/cpp/src/arrow/python/numpy_to_arrow.cc:791:13: error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
    int64_t n = 0;
            ^
/Users/willjones/Documents/arrows/arrow/cpp/src/arrow/python/numpy_to_arrow.cc:799:13: error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
    int64_t n = 0;
            ^ 

Reporter: Will Jones / @wjones127
Assignee: Will Jones / @wjones127

PRs and other links:

Note: This issue was originally created as ARROW-15603. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 12359
#12359

@raulcd raulcd modified the milestones: 7.0.2, 8.0.0 Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants