github-actions[bot] commented on code in PR #24735:
URL: https://github.com/apache/doris/pull/24735#discussion_r1334175759
##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -1589,28 +1589,21 @@ void
SegmentIterator::_output_non_pred_columns(vectorized::Block* block) {
Status SegmentIterator::_read_columns_by_index(uint32_t nrows_read_limit,
uint32_t& nrows_read,
bool set_block_rowid) {
SCOPED_RAW_TIMER(&_opts.stats->first_read_ns);
+
+ std::vector<uint32_t> rowids;
Review Comment:
warning: variable 'rowids' is not initialized
[cppcoreguidelines-init-variables]
```suggestion
std::vector<uint32_t> rowids = 0;
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]