ffacs commented on code in PR #2615:
URL: https://github.com/apache/orc/pull/2615#discussion_r3199117184


##########
c++/src/ColumnReader.cc:
##########
@@ -435,7 +435,7 @@ namespace orc {
       const size_t cap = static_cast<size_t>(std::numeric_limits<int>::max());
       while (sizeToSkip != 0) {
         size_t step = sizeToSkip > cap ? cap : sizeToSkip;
-        inputStream_->Skip(static_cast<int>(step));
+        static_cast<void>(inputStream_->Skip(static_cast<int>(step)));

Review Comment:
   I'd prefer std::ignore



-- 
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]

Reply via email to