Will Jones created ARROW-15603:
----------------------------------

             Summary: [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
             Fix For: 8.0.0


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