Closed
Bug 1782337
Opened 2 years ago
Closed 2 years ago
Remove unused LineWatcher
Categories
(Core :: IPC, task, P3)
Core
IPC
Tracking
()
RESOLVED
FIXED
105 Branch
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
gcc reports a -Wlogical-op warning about an if
statement with duplicate expressions because EAGAIN
and EWOULDBLOCK
have the same value on some systems (like Linux, Android, and macOS, but not Windows).
However, instead of fixing this -Wlogical-op warning, we can just remove the LineWatcher
class because it's unused. It was added for Firefox OS in bug 805478.
ipc/chromium/src/base/message_pump_libevent.cc:422:29: warning: logical 'or' of equal expressions [-Wlogical-op]
if (errno == EAGAIN || errno == EWOULDBLOCK) {
return; // no data available: return and re-poll
}
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c6bd9e91eb46 Remove unused LineWatcher. r=ipc-reviewers,jld
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•