Poison.cpp: do not use 'else' after 'return'
Categories
(Core :: MFBT, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: maazism, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(3 files, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #1857751 +++
Filling as a good first bug to learn workflows.
do not use 'else' after 'return':
https://searchfox.org/mozilla-central/rev/9f6a9e601b2ab9ad1a3877691ea17c66c1fd8867/mfbt/Poison.cpp#122-133
As the change is trivial, it is just to learn how to contribute to Firefox.
Found by http://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html
Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Fixed Bug 1860247 Poison.cpp: Avoid using 'else' after 'return'
Comment 3•1 year ago
|
||
Fixed Bug 1860247 Poison.cpp: Avoid using 'else' after 'return'
Comment 4•1 year ago
|
||
Hi Sylvestre Ledru,
Thanks for the opportunity, I was opportune to find some time to participate in this contribution. I handled the bug on Bug 1860247. I unfortunately got out of surgery recently and was not able to be as forthcoming with my presence as required but regardless, I am happy to get your feedback.
I am aware your hands and schedule must be occupied at the moment so any response I can get whenever you can spare some time would be appreciated.
Reporter | ||
Comment 7•1 year ago
|
||
Needinfo should be used only when you need an answer. Please use it wisely
Comment 8•1 year ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
bugherder |
Description
•