summary refs log tree commit diff stats
path: root/results/classifier/mode-gemma3:12b/system/1798780
blob: cbc9717ca1cc44d9e02a5040a011e8cc8d14f1b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
hw/usb/dev-mtp.c:1616: bad test ?

hw/usb/dev-mtp.c:1616:52: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op]

Source code is

                if ((ret == -1) && (errno != EINTR || errno != EAGAIN ||
                                    errno != EWOULDBLOCK)) {

Maybe better code

                if ((ret == -1) && (errno != EINTR && errno != EAGAIN &&
                                    errno != EWOULDBLOCK)) {