diff options
Diffstat (limited to 'results/classifier/105/instruction/1715007')
| -rw-r--r-- | results/classifier/105/instruction/1715007 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/results/classifier/105/instruction/1715007 b/results/classifier/105/instruction/1715007 new file mode 100644 index 000000000..30e833008 --- /dev/null +++ b/results/classifier/105/instruction/1715007 @@ -0,0 +1,33 @@ +instruction: 0.657 +mistranslation: 0.600 +socket: 0.569 +semantic: 0.536 +graphic: 0.520 +device: 0.469 +network: 0.458 +vnc: 0.209 +KVM: 0.101 +boot: 0.095 +assembly: 0.085 +other: 0.063 + +hw/block/onenand.c:520: dead code ? + +qemu/hw/block/onenand.c:520] -> [qemu/hw/block/onenand.c:521]: (warning) Opposite inner 'if' condition leads to a dead code block. + +Source code is + + for (b = 0; b < s->blocks; b ++) { + if (b >= s->blocks) { + s->status |= ONEN_ERR_CMD; + break; + } + +I am not sure if the if condition can be merely deleted, or something more +complex needs to be implemented. + +Recent qemu trunk. + +Fix has now been included here: +https://git.qemu.org/?p=qemu.git;a=commitdiff;h=dbfa934106d22402d + |