You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2022/02/07 16:54:00 UTC

[jira] [Created] (ARROW-15603) [C++] Clang 13 build fails on unused var

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)