You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/10 22:12:00 UTC
[jira] [Updated] (ARROW-13600) [C++] Maybe uninitialized warnings
[ https://issues.apache.org/jira/browse/ARROW-13600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-13600:
-----------------------------------
Labels: pull-request-available (was: )
> [C++] Maybe uninitialized warnings
> ----------------------------------
>
> Key: ARROW-13600
> URL: https://issues.apache.org/jira/browse/ARROW-13600
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Keith Kraus
> Assignee: Keith Kraus
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code}
> Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/exec/key_hash.cc.o
> /home/keith/git/arrow/cpp/src/arrow/compute/exec/key_hash.cc: In static member function 'static void arrow::compute::Hashing::hash_varlen_helper(uint32_t, const uint8_t*, uint32_t*)':
> /home/keith/git/arrow/cpp/src/arrow/compute/exec/key_hash.cc:202:16: warning: 'last_stripe' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 202 | uint32_t lane = reinterpret_cast<const uint32_t*>(last_stripe)[j];
> | ^~~~
> {code}
> {code}
> Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/tensor.cc.o
> /home/keith/git/arrow/cpp/src/arrow/tensor.cc: In member function 'arrow::Result<long int> arrow::Tensor::CountNonZero() const':
> /home/keith/git/arrow/cpp/src/arrow/tensor.cc:337:18: warning: '*((void*)& counter +8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 337 | NonZeroCounter counter(*this);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)