summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1798780
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1798780')
-rw-r--r--results/scraper/launchpad-without-comments/179878013
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 000000000..f0f51c23b
--- /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