On Tue, 10 Jun 2025, Martin Uecker wrote:

> When looking for the casue of PR120510 I noticed there
> is some minor issues that make the code harder to understand
> which are left over from previous changes.
> 
> Bootstrapped and regression tested for x86_64.
> 
> 
>     c: clean up some functions in c-typeck.cc
>     
>     This removes two unnecessary variables and replaces 1/0 with
>     true/false for two functions with boolean return type.
>     
>     gcc/c/ChangeLog:
>             * c-typeck.c (function_types_compatible_p): Remove unused
>             variables and return true/false instead of 1/0.
>             (type_lists_compatible_p): Return false instead of 0.

OK.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to