summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/none/1720971
blob: 10c498b3ec6e31062178e3c9389ea8c6b045e925 (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
graphic: 0.586
network: 0.573
other: 0.551
socket: 0.521
device: 0.499
semantic: 0.301
performance: 0.279
vnc: 0.247
files: 0.198
KVM: 0.185
debug: 0.120
boot: 0.118
permissions: 0.096
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.