[
https://issues.apache.org/jira/browse/ARROW-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-3852:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/20368
> [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
> Fix For: 0.12.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {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
(v8.20.10#820010)