Skip to content

Unused variables #370

@mitul93

Description

@mitul93

Describe the bug

Following variables are unused and can be removed.

frm_obs in lambda thread_right

std::thread thread_right([this, &frm_obs, &right_img_gray, &mask, &keypts_right, &descriptors_right]() {

variable ini_extractor_left_

feature::orb_extractor* ini_extractor_left_ = nullptr;

variable bow_db_

data::bow_database* bow_db_ = nullptr;

data::bow_database* bow_db_ = nullptr;

variable bow_vocab_

data::bow_vocabulary* bow_vocab_;

variable fix_scale_in_Sim3_estimation_

const bool fix_scale_in_Sim3_estimation_;

variable this

auto add_second_local_keyframe = [this, &second_local_keyfrms, &already_found_keyfrm_ids](const std::shared_ptr<data::keyframe>& keyfrm) {

variable frame_hash_

To Reproduce

The unused variable can be checked by searching them in the vscode or any other editor.

Expected behavior

Not Applicable

Screenshots or videos

Not Applicable

Environment

  • Hardware: PC
  • CPU: i7-12700
  • OS: Ubuntu 22.04
  • Commit id: a404f57

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions