Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15603

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

    XMLWordPrintableJSON

Details

    Description

      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;
                  ^ 

      Attachments

        Issue Links

          Activity

            People

              wjones127 Will Jones
              wjones127 Will Jones
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m