From bfa780897571b338ccef0d788b6089e8b3829c2b Mon Sep 17 00:00:00 2001 From: smf- Date: Fri, 24 Jan 2020 00:49:43 +0000 Subject: bitwise comparison always evaluates to false [-Werror=tautological-compare] 1014 | (inst & 0xfc007c00) == 0x84004200 ? 'x' : 'r', | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~ --- src/devices/cpu/m88000/m88000d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/m88000/m88000d.cpp b/src/devices/cpu/m88000/m88000d.cpp index eed6f57f60d..2f718dba068 100644 --- a/src/devices/cpu/m88000/m88000d.cpp +++ b/src/devices/cpu/m88000/m88000d.cpp @@ -1011,7 +1011,7 @@ offs_t m88000_disassembler::dasm_fp(std::ostream &stream, const char *mnemonic, if ((inst & 0xfc006000) == 0x84004000) { util::stream_format(stream, "%-12s%c%d,", mnemonic, - (inst & 0xfc007c00) == 0x84004200 ? 'x' : 'r', + /*(inst & 0xfc007c00) == 0x84004200 ? 'x' : */'r', (inst & 0x03e00000) >> 21); } else -- cgit v1.2.3