[
https://issues.apache.org/jira/browse/ARROW-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-3852:
----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Minor
> Labels: pull-request-available
>
> {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)