git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3852) [C++] used uninitialized warning


Kouhei Sutou created ARROW-3852:
-----------------------------------

             Summary: [C++] used uninitialized warning
                 Key: ARROW-3852
                 URL: https://issues.apache.org/jira/browse/ARROW-3852
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
    Affects Versions: 0.11.1
            Reporter: Kouhei Sutou
            Assignee: Kouhei Sutou


{code}
    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);
         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)