diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/1798780')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1798780 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1798780 b/results/scraper/launchpad-without-comments/1798780 new file mode 100644 index 00000000..f0f51c23 --- /dev/null +++ b/results/scraper/launchpad-without-comments/1798780 @@ -0,0 +1,13 @@ +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)) { \ No newline at end of file |