[PATCH] aarch64: Fix coding style issue in `aarch64-dis.c'

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Tue Apr 23 12:13:28 GMT 2024


On 22/04/2024 10:35, Victor Do Nascimento wrote:
> Fix integer value being returned from boolean function, as introduced
> in `aarch64: Remove asserts from operand qualifier decoders [PR31595]'.
> ---
>  opcodes/aarch64-dis.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c
> index b70e6da9eb7..e1c3f557874 100644
> --- a/opcodes/aarch64-dis.c
> +++ b/opcodes/aarch64-dis.c
> @@ -1038,7 +1038,7 @@ aarch64_ext_ft (const aarch64_operand *self ATTRIBUTE_UNUSED,
>  	return false;
>        info->qualifier = get_sreg_qualifier_from_value (value);
>        if (info->qualifier == AARCH64_OPND_QLF_ERR)
> -	return 0;
> +	return false;
>      }
>  
>    return true;


OK, thanks.

R.


More information about the Binutils mailing list