summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/tcg/1798780
blob: 91a9c1e37fe2e5fa9db48520f6c1465502ce3006 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)) {