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]
Actions