qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1402802] [NEW] target-tricore/translate.c:3812: possib


From: dcb
Subject: [Qemu-devel] [Bug 1402802] [NEW] target-tricore/translate.c:3812: possible bad expression ?
Date: Mon, 15 Dec 2014 19:31:29 -0000

Public bug reported:


>From a run of cppcheck, a static analysis checker, over the
source code of qemu trunk, dated 20141215, is the new error:

[qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f)
== 0x6f' is always false.

Source code is

    if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) {

Suggest code rework.

** 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/1402802

Title:
  target-tricore/translate.c:3812: possible bad expression ?

Status in QEMU:
  New

Bug description:
  
  From a run of cppcheck, a static analysis checker, over the
  source code of qemu trunk, dated 20141215, is the new error:

  [qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f)
  == 0x6f' is always false.

  Source code is

      if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) {

  Suggest code rework.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]