Open
Bug 2064513
Opened 3 months ago
Updated 18 hours ago
replace goto FAIL pattern with mozilla::ScopeExit
Categories
(MailNews Core :: Backend, task, P3)
MailNews Core
Backend
Tracking
(Not tracked)
ASSIGNED
163 Branch
People
(Reporter: jtracey, Assigned: grubbke)
Details
(Keywords: good-first-bug, leave-open)
Attachments
(1 external file)
Some of the older C++ code uses the goto FAIL pattern, which can be bug-prone. It's slowly been getting replaced with mozilla::ScopeExit as it's been touched, but it would also be fine to have dedicated patches for making that conversion.
New contributors who want to help with this should just find a C++ file in comm that uses the goto FAIL pattern (i.e., any sort of goto early return cleanup) and submit a patch replacing all the instances of it with an appropriately configured mozilla::ScopeExit.
| Assignee | ||
Comment 1•1 day ago
|
||
Updated•1 day ago
|
Assignee: nobody → grubbke
Status: NEW → ASSIGNED
| Reporter | ||
Updated•1 day ago
|
Updated•18 hours ago
|
Assignee: nobody → grubbke
Status: NEW → ASSIGNED
Target Milestone: --- → 163 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•