fix warning
This commit is contained in:
parent
352f5c0deb
commit
d18895a452
|
@ -82,7 +82,6 @@ protected:
|
||||||
bool traverse_tree(boost::shared_ptr<const Link> link,int level = 0)
|
bool traverse_tree(boost::shared_ptr<const Link> link,int level = 0)
|
||||||
{
|
{
|
||||||
level+=2;
|
level+=2;
|
||||||
int count = 0;
|
|
||||||
for (std::vector<boost::shared_ptr<Link> >::const_iterator child = link->child_links.begin(); child != link->child_links.end(); child++)
|
for (std::vector<boost::shared_ptr<Link> >::const_iterator child = link->child_links.begin(); child != link->child_links.end(); child++)
|
||||||
{
|
{
|
||||||
if (*child)
|
if (*child)
|
||||||
|
|
Loading…
Reference in New Issue