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•6 years ago
|
||
Please assign it to me. I'd like to start contributing to Firefox with this bug.
| Reporter | ||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Whom should I assign for review?
| Reporter | ||
Comment 3•6 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•6 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•6 years ago
|
||
Not sure what you mean but yeah, you have to use phabricator
Comment 6•6 years ago
|
||
Please assign this bug to someone else. I'm not having enough time. :(
| Reporter | ||
Updated•6 years ago
|
This seems like a great opportunity to learn! Please assign this bug to me so I can contribute!
| Reporter | ||
Comment 8•6 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•6 years ago
|
| Reporter | ||
Comment 11•6 years ago
|
||
Yeah, bravo.
I just have a minor request!
Thanks
| Assignee | ||
Comment 12•6 years ago
|
||
Depends on D64354
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
| bugherder | ||
Updated•3 years ago
|
Description
•