Public bug reported:

target-arm/translate-a64.c:2028:37: warning: ?: using integer constants
in boolean context [-Wint-in-bool-context]

Source code is

        bool iss_sf = opc == 0 ? 32 : 64;

Maybe better code

        bool iss_sf = (opc == 0) ? 32 : 64;

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1625987

Title:
  target-arm/translate-a64.c:2028: possible coding error ?

Status in QEMU:
  New

Bug description:
  target-arm/translate-a64.c:2028:37: warning: ?: using integer
  constants in boolean context [-Wint-in-bool-context]

  Source code is

          bool iss_sf = opc == 0 ? 32 : 64;

  Maybe better code

          bool iss_sf = (opc == 0) ? 32 : 64;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1625987/+subscriptions

Reply via email to