StartupCacheUtils.cpp: do not use 'else' after 'return'
Categories
(Toolkit :: Startup and Profile System, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: sachinchauhan2889)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file, 2 obsolete files)
+++ This bug was initially created as a clone of Bug #1688504 +++
Filling as a good first bug to learn workflows.
do not use 'else' after 'return':
https://searchfox.org/mozilla-central/rev/7431701c98da9218fda314a54efa1a3093760f65/startupcache/StartupCacheUtils.cpp#155-156
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•3 years ago
|
Comment 1•3 years ago
|
||
Hi Sylvestre,
Can I work on this bug?
Abhishek
Reporter | ||
Comment 2•3 years ago
|
||
Sure (please read the whole message ;)
Comment 3•3 years ago
|
||
First I have to solve Bug #1688504 than I came to solve this bug.
Comment 4•3 years ago
|
||
@Abhishek Sharma If you are not active on this bug can I take it?
Comment 5•3 years ago
|
||
I am on active this bug.
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Remove the else if statement
Depends on D103866
Reporter | ||
Comment 8•3 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•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 9•3 years ago
|
||
You should start with easier contribution than Firefox and follow the guidance ;)
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/96c5cac78a5c do not use 'else' after 'return'. r=sylvestre
Comment 12•3 years ago
|
||
bugherder |
Description
•