761417898 commented on code in PR #542:
URL: https://github.com/apache/tsfile/pull/542#discussion_r2206130626


##########
cpp/src/reader/qds_without_timegenerator.cc:
##########
@@ -124,9 +124,10 @@ int QDSWithoutTimeGenerator::next(bool &has_next) {
     std::multimap<int64_t, uint32_t>::iterator iter = heap_time_.find(time);
     for (uint32_t i = 0; i < count; ++i) {
         uint32_t len = 0;
+        auto val_datatype = value_iters_[iter->second]->get_data_type();
+        void *val_ptr = value_iters_[iter->second]->read(&len);
         row_record_->get_field(iter->second + 1)

Review Comment:
   Avoid potential unassigned values `len`



-- 
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: notifications-unsubscr...@tsfile.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to