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

Victor Do Nascimento victor.donascimento@arm.com
Mon Apr 22 09:35:00 GMT 2024


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;
-- 
2.34.1



More information about the Binutils mailing list