Project

General

Profile

Actions

Bug #2290

closed

NameTree: unused-but-set-variable warnings

Added by Alex Afanasyev about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Tables
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

When compiled in non-debug mode:

../daemon/table/name-tree.cpp: In member function ‘bool nfd::NameTree::eraseEntryIfEmpty(std::shared_ptr<nfd::name_tree::Entry>)’:
../daemon/table/name-tree.cpp:329:16: warning: variable ‘isFound’ set but not used [-Wunused-but-set-variable]
../daemon/table/name-tree.cpp: In member function ‘nfd::NameTree::const_iterator nfd::NameTree::const_iterator::operator++()’:
../daemon/table/name-tree.cpp:597:12: warning: variable ‘isFound’ set but not used [-Wunused-but-set-variable]
../daemon/table/name-tree.cpp:694:20: warning: variable ‘isFound’ set but not used [-Wunused-but-set-variable]
Actions #1

Updated by Junxiao Shi about 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
  • Estimated time set to 0.50 h
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Tracker changed from Task to Bug
  • Description updated (diff)
  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF