Skip to contentSkip to conversation

target-lm32/translate.c:336: bad ? : operator

Qemu-devel dcb 1 participant 3 messages Jan 24, 2015 – Jan 11, 2017

lore
Share & tools
lore

dcb

author
#0 lore raw

Public bug reported:

[qemu/target-lm32/translate.c:336]: (style) Same expression in both branches of ternary operator.

   int rY = (dc->format == OP_FMT_RR) ? dc->r0 : dc->r0;

** Affects: qemu
Importance: Undecided
Status: New

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

Title:
  target-lm32/translate.c:336: bad ? : operator

Status in QEMU:
  New

Bug description:
  [qemu/target-lm32/translate.c:336]: (style) Same expression in both
  branches of ternary operator.

     int rY = (dc->format == OP_FMT_RR) ? dc->r0 : dc->r0;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1414293/+subscriptions
#1 lore raw

Patch has been committed:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=5db35b616b8d3a27783ec

** Changed in: qemu
Status: New => Fix Committed

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

Title:
  target-lm32/translate.c:336: bad ? : operator

Status in QEMU:
  Fix Committed

Bug description:
  [qemu/target-lm32/translate.c:336]: (style) Same expression in both
  branches of ternary operator.

     int rY = (dc->format == OP_FMT_RR) ? dc->r0 : dc->r0;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1414293/+subscriptions
#2 lore raw
In reply to dcb

Released with version 2.8

** Changed in: qemu
Status: Fix Committed => Fix Released

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

Title:
  target-lm32/translate.c:336: bad ? : operator

Status in QEMU:
  Fix Released

Bug description:
  [qemu/target-lm32/translate.c:336]: (style) Same expression in both
  branches of ternary operator.

     int rY = (dc->format == OP_FMT_RR) ? dc->r0 : dc->r0;

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