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

[C++] used uninitialized warning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.1
    • 0.12.0
    • C++

    Description

          In file included from ../src/arrow/util/bit-util-test.cc:35:
          ../src/arrow/util/bit-stream-utils.h: In function 'void arrow::TestZigZag(int32_t)':
          ../src/arrow/util/bit-stream-utils.h:110:11: warning: 'buffer' is used uninitialized in this function [-Wuninitialized]
               memcpy(&buffered_values_, buffer_ + byte_offset_, num_bytes);
               ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              kou Kouhei Sutou
              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 - 0.5h
                  0.5h