https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65101

            Bug ID: 65101
           Summary: cppcheck for vector.tcc: Variable '__new_finish' is
                    reassigned a value before the old one has been used.
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: redi at gcc dot gnu.org

A minor style issue, when fixed, it will reduce the output I see when running
cppcheck on my own program:

include/c++/5.0.0/bits/vector.tcc: Line 368-371: The first assignment is
superfluous:
              __new_finish = pointer();

              __new_finish
                = std::__uninitialized_move_if_noexcept_a

Reply via email to