Project

General

Profile

Actions

Bug #2808

closed

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

Added by Davide Pesavento almost 9 years ago. Updated almost 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 #1

Updated by Davide Pesavento almost 9 years ago

  • Description updated (diff)
Actions #2

Updated by Junxiao Shi almost 9 years ago

  • Assignee set to Haowei Yuan
  • Estimated time set to 1.00 h
Actions #3

Updated by Haowei Yuan almost 9 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Haowei Yuan almost 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 80
Actions #5

Updated by Junxiao Shi almost 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF