Skip to content

[C++] used uninitialized warning #20368

@asfimport

Description

@asfimport
    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);
         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reporter: Kouhei Sutou / @kou
Assignee: Kouhei Sutou / @kou

PRs and other links:

Note: This issue was originally created as ARROW-3852. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions