diff options
Diffstat (limited to 'results/classifier/118/none/1715007')
| -rw-r--r-- | results/classifier/118/none/1715007 | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/results/classifier/118/none/1715007 b/results/classifier/118/none/1715007 new file mode 100644 index 00000000..068bf0d6 --- /dev/null +++ b/results/classifier/118/none/1715007 @@ -0,0 +1,50 @@ +mistranslation: 0.600 +socket: 0.569 +semantic: 0.536 +graphic: 0.520 +device: 0.469 +network: 0.458 +ppc: 0.446 +x86: 0.293 +files: 0.282 +performance: 0.251 +architecture: 0.241 +register: 0.213 +vnc: 0.209 +arm: 0.192 +i386: 0.189 +debug: 0.172 +hypervisor: 0.158 +PID: 0.112 +kernel: 0.107 +permissions: 0.103 +KVM: 0.101 +user-level: 0.101 +boot: 0.095 +peripherals: 0.091 +assembly: 0.085 +VMM: 0.084 +TCG: 0.082 +virtual: 0.081 +risc-v: 0.076 + +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 + |