On Mon, Jun 14, 2021 at 02:34:53PM +0200, Tobias Burnus wrote: > Rather obvious fix for a warning found by David via cppcheck. > > OK? > > Tobias > > ----------------- > Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München > Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank > Thürauf
> C/C++: Fix unused set var warning with omp_clause_affinity [PR100913] > > PR c/100913 > gcc/c/ChangeLog: > > * c-parser.c (c_parser_omp_clause_affinity): No need to set iterator > var in the error case. > > gcc/cp/ChangeLog: > > * parser.c (cp_parser_omp_clause_affinity): No need to set iterator > var in the error case. Ok. Jakub