qemu-4.2.0/hw/misc/mac_via.c: 2 * bad test ?
Bug #1856549 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1.
qemu-4.
} else if ((m->data_out & 0xf3) == 0xa1) {
...
} else if ((m->data_out & 0xf3) == 0xa1) {
2.
qemu-4.
Duplicate.
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
gcc compiler flag -Wduplicated-cond will catch this kind of problem.
You might want to switch it on in your builds. It has been available for over a year.