ResponsiveImageSelector.cpp: do not use 'else' after 'break'
Categories
(Core :: DOM: Core & HTML, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: janey, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(2 files, 2 obsolete files)
+++ This bug was initially created as a clone of Bug #1688503 +++
Filling as a good first bug to learn workflows.
do not use 'else' after 'break':
https://searchfox.org/mozilla-central/source/dom/base/ResponsiveImageSelector.cpp#615-616
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.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Can I work on this bug?
Comment 2•4 years ago
|
||
Depends on D103345
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Remove the else if statement
Depends on D103345
Reporter | ||
Comment 4•4 years ago
|
||
Abhishek, as I was saying in the review, I am unassigning these bugs from you.
You need to compile and test your changes and you haven't despite asking several times.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Depends on D103866
Hey Sylvestre,
I am new to bug fixing may I know what is the status on this bug, if possible I would like to take this up
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 8•4 years ago
|
||
Hi Sylvestre Ledru [:Sylvestre],
My name is Jane, I'm from Outreachy. I would love to work on this bug which is obviously easy to fix because everything is clarified already :)
My q is regarding tests - when I am running them locally, do I do: "mach test devtools/dom/base/ResponsiveImageSelector.cpp --headless" ?
a little bit lost with the test options. Would extremely appreciate nay clarification! Kind regards!
Assignee | ||
Comment 9•4 years ago
|
||
Depends on D111770
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Description
•