westonpace commented on code in PR #14571:
URL: https://github.com/apache/arrow/pull/14571#discussion_r1012290436
##########
cpp/src/arrow/testing/gtest_util.cc:
##########
@@ -679,7 +679,7 @@ void TestInitialized(const ArrayData& array) {
// entire buffer data). If not all bits are well-defined, Valgrind will
// error with "Conditional jump or move depends on uninitialised value(s)".
if (total_bit == 0) {
- ++throw_away;
+ throw_away = throw_away + 1;
Review Comment:
Why this change?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]