nsNSSCertificate.cpp: redundant return statement at the end of a function with a void return type
Categories
(Developer Infrastructure :: Source Code Analysis, task)
Tracking
(firefox75 fixed)
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: manas.khurana20, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file, 1 obsolete file)
Filling as a good first bug to learn workflows.
return;
at the end of a void function is useless
https://searchfox.org/mozilla-central/source/security/manager/ssl/nsNSSCertificate.cpp#577
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-redundant-control-flow.html
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html
Comment 1•4 years ago
|
||
Please assign it to me. I'd like to start contributing to Firefox with this bug.
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Whom should I assign for review?
Reporter | ||
Comment 3•4 years ago
|
||
Sorry, I missed your message.
See https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html#to-write-a-patch to find a reviewer
Comment 4•4 years ago
|
||
OK. I've committed my change with a reviewer mentioned in the commit message. I haven't used Phabricator. Do I need to do that?
Reporter | ||
Comment 5•4 years ago
|
||
Not sure what you mean but yeah, you have to use phabricator
Comment 6•4 years ago
|
||
Please assign this bug to someone else. I'm not having enough time. :(
Reporter | ||
Updated•4 years ago
|
This seems like a great opportunity to learn! Please assign this bug to me so I can contribute!
Reporter | ||
Comment 8•4 years ago
|
||
Please provide a patch and it will be automatically assigned to you.
If someone takes it before you, I will create a new good first bug for you!
Updated•4 years ago
|
Reporter | ||
Comment 11•4 years ago
|
||
Yeah, bravo.
I just have a minor request!
Thanks
Assignee | ||
Comment 12•4 years ago
|
||
Depends on D64354
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d3aecdee319b Remove redundant return statement. r=sylvestre
Comment 14•4 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•