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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:2e3897490e0f99b22a2813cfb34d59a1ea71ff68

commit r10-7774-g2e3897490e0f99b22a2813cfb34d59a1ea71ff68
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Apr 17 16:59:57 2020 +0200

    c, c++: Fix two redundantAssignment warnings [PR94629]

    This change fixes two obvious redundant assignments reported by cppcheck:
    trunk.git/gcc/c/c-parser.c:16969:2: style: Variable 'data.clauses' is
reassigned a value before the old one has been used. [redundantAssignment]
    trunk.git/gcc/cp/call.c:5116:9: style: Variable 'arg2' is reassigned a
value before the old one has been used. [redundantAssignment]

    2020-04-17  Jakub Jelinek  <ja...@redhat.com>

            PR other/94629
            * c-parser.c (c_parser_oacc_routine): Remove redundant assignment
            to data.clauses.

            * call.c (build_conditional_expr_1): Remove redundant assignment to
            arg2.

Reply via email to