blob: 48b056a8f83d25c1fe8c51a3c46ac90a84974739 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
mistranslation: 0.726
graphic: 0.586
network: 0.573
socket: 0.521
device: 0.499
kernel: 0.447
ppc: 0.321
x86: 0.303
semantic: 0.301
performance: 0.279
vnc: 0.247
hypervisor: 0.230
i386: 0.225
files: 0.198
KVM: 0.185
architecture: 0.174
register: 0.169
arm: 0.158
user-level: 0.134
risc-v: 0.127
assembly: 0.123
debug: 0.120
TCG: 0.119
boot: 0.118
VMM: 0.111
permissions: 0.096
peripherals: 0.079
virtual: 0.070
PID: 0.068
qemu/hw/block/onenand.c:522: strange if statement ?
[qemu/hw/block/onenand.c:523]: (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;
}
Inner if condition will never be true.
|