diff --git a/cpp/src/graphar/high-level/graph_reader.cc b/cpp/src/graphar/high-level/graph_reader.cc index e0d2ed8d0..dc4cc4ae0 100644 --- a/cpp/src/graphar/high-level/graph_reader.cc +++ b/cpp/src/graphar/high-level/graph_reader.cc @@ -209,8 +209,7 @@ Result> VerticesCollection::filter_by_acero( std::vector indices; const int TOT_ROWS_NUM = vertex_num_; const int CHUNK_SIZE = vertex_info_->GetChunkSize(); - const int TOT_LABEL_NUM = labels_.size(); - const int TESTED_LABEL_NUM = filter_labels.size(); + std::vector tested_label_ids; for (const auto& filter_label : filter_labels) { auto it = std::find(labels_.begin(), labels_.end(), filter_label);