Actions
Bug #2290
closedNameTree: unused-but-set-variable warnings
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]
Updated by Junxiao Shi almost 10 years ago
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Estimated time set to 0.50 h
Updated by Junxiao Shi almost 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
Updated by Junxiao Shi almost 10 years ago
- Status changed from Code review to Closed
Actions