Project

General

Profile

Actions

Bug #2808

closed

Useless boolean isFound in NameTree::const_iterator::operator++

Added by Davide Pesavento over 9 years ago. Updated over 9 years ago.

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

80%

Estimated time:
1.00 h

Description

In every branch there's always a return statement immediately after the assignment to isFound, so the value stored is never read. Therefore the BOOST_VERIFY condition is always true and can be eliminated, together with the variable isFound itself.

Actions

Also available in: Atom PDF