nsBidiPresUtils.cpp: do not use 'else' after 'break'
Categories
(Core :: Layout, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: tanweerali908)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file, 3 obsolete files)
Filling as a good first bug to learn workflows.
do not use 'else' after 'break':
https://searchfox.org/mozilla-central/source/layout/base/nsBidiPresUtils.cpp#1338
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.
Assignee | ||
Comment 1•3 years ago
|
||
Hey I want to work on this bug.
Thanks
Tanweer
Assignee | ||
Comment 2•3 years ago
|
||
I did not see the last line. Sure I have started working on this bug. I will create a patch soon.
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Reporter | ||
Comment 7•3 years ago
|
||
Please stop creating new reviews. Update the existing reviews.
See
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#to-update-a-submitted-patch
Assignee | ||
Comment 8•3 years ago
|
||
Yeah got it. moz-phab
is submitting revision to recent one. I want to submit this to the revision before recent one. As by mistake I created new revision https://phabricator.services.mozilla.com/D103701
but the revision which I want to update is https://phabricator.services.mozilla.com/D103596
. How to tackle this situation.
Reporter | ||
Comment 9•3 years ago
|
||
please read the documentation.
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html
this is explained
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a83c0d2c34e0 [Core] Remove else if condition after break in layout/base/nsBidiPresUtils.cpp#1338. r=sylvestre
Comment 11•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•