https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100913
Bug ID: 100913 Summary: cppcheck: 2 * pointless new assignments in the parser ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- 1. trunk.git/gcc/c/c-parser.c:15600:12: style: Variable 'iterators' is assigned a value that is never used. [unreadVariable] git blame says: trunk.git/g9a5de4d5af1c gcc/c/c-parser.c (Tobias Burnus 2021-05-28 10:01:19 +0200 15600) iterators = NULL_TREE; 2. gcc/cp/parser.c:37830:12: style: Variable 'iterators' is assigned a value that is never used. [unreadVariable] Possible duplicate.