niyue commented on a change in pull request #11486:
URL: https://github.com/apache/arrow/pull/11486#discussion_r732846743
##########
File path: cpp/src/arrow/ipc/reader.cc
##########
@@ -1529,7 +1569,6 @@ class StreamDecoder::StreamDecoderImpl : public
MessageDecoderListener {
}
Status OnRecordBatchMessageDecoded(std::unique_ptr<Message> message) {
- IpcReadContext context(&dictionary_memo_, options_, swap_endian_);
Review comment:
This line of code seem redundant and the `context` value is shadowed by
another local variable below, so I remove this line.
--
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]