[Bug algol68/122954] algol68, meet cppcheck

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 2 10:09:32 GMT 2025


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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jose E. Marchesi <jemarch@gcc.gnu.org>:

https://gcc.gnu.org/g:f76e54a7cff14bfbbb1d83c45e042b18c325ce67

commit r16-5827-gf76e54a7cff14bfbbb1d83c45e042b18c325ce67
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Tue Dec 2 11:06:45 2025 +0100

    a68: remove superfluous code detected by cppcheck [PR algol68/122954]

    This commits fixes three instances of harmless but redundant code,
    detected by cppcheck.

    gcc/algol68/ChangeLog

            PR algol68/122954
            * a68-low-clauses.cc (serial_clause_dsa): Avoid redundant
            initialization.
            * a68-parser-modes.cc (compute_derived_modes): Likewise.
            * a68-low.cc (a68_lower_tree): Remove redundant break.


More information about the Gcc-bugs mailing list