[ 
https://issues.apache.org/jira/browse/ARROW-15603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-15603:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++] Clang 13 build fails on unused var
> ----------------------------------------
>
>                 Key: ARROW-15603
>                 URL: https://issues.apache.org/jira/browse/ARROW-15603
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 7.0.0
>            Reporter: Will Jones
>            Assignee: Will Jones
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 8.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Just a small issue. When I build with clang 13 I get the following error from 
> a unused var warning:
> {code:java}
> /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;
>             ^ {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to