Skip to content

Commit

Permalink
fix unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbattle committed Jul 18, 2022
1 parent 1c60257 commit 29d7f71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ov_core/src/feat/FeatureHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ class FeatureHelper {
size_t camid = campairs.first;
bool found0 = false;
bool found1 = false;
Eigen::Vector2f uv0;
Eigen::Vector2f uv1;
Eigen::Vector2f uv0 = Eigen::Vector2f::Zero();
Eigen::Vector2f uv1 = Eigen::Vector2f::Zero();
for (size_t idx = 0; idx < feat.second->timestamps.at(camid).size(); idx++) {
double time = feat.second->timestamps.at(camid).at(idx);
if ((oldest_time == -1 || time > oldest_time) && !found0) {
Expand Down

0 comments on commit 29d7f71

Please sign in to comment.