public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: Victor Do Nascimento <victorldn@sourceware.org>
To: binutils-cvs@sourceware.org
Subject: [binutils-gdb] aarch64: Fix coding style issue in `aarch64-dis.c'
Date: Mon, 22 Apr 2024 09:35:44 +0000 (GMT)	[thread overview]
Message-ID: <20240422093544.C0AC6384AB4A@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=911cb006bf029ada9f6364619257dffe9218e92a

commit 911cb006bf029ada9f6364619257dffe9218e92a
Author: Victor Do Nascimento <victor.donascimento@arm.com>
Date:   Fri Apr 19 14:01:43 2024 +0100

    aarch64: Fix coding style issue in `aarch64-dis.c'
    
    Fix integer value being returned from boolean function, as introduced
    in `aarch64: Remove asserts from operand qualifier decoders [PR31595]'.

Diff:
---
 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;

                 reply	other threads:[~2024-04-22  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240422093544.C0AC6384AB4A@sourceware.org \
    --to=victorldn@sourceware.org \
    --cc=binutils-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).