Closed
Bug 1684640
Opened 4 years ago
Closed 4 years ago
nsDirectoryService.cpp: do not use 'else' after 'return'
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
RESOLVED
INVALID
People
(Reporter: Sylvestre, Assigned: nirmay, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 obsolete file)
Filling as a good first bug to learn workflows.
do not use 'else' after 'return'
https://searchfox.org/mozilla-central/rev/809ac3660845fef6faf18ec210232fdadc0f1ad9/xpcom/io/nsDirectoryService.cpp#233-242
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.
Comment 1•4 years ago
|
||
can i contribute?
| Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → nirmay.dhruv
Status: NEW → ASSIGNED
| Reporter | ||
Comment 3•4 years ago
|
||
Oups, sorry, it was invalid.
see
https://bugs.llvm.org/show_bug.cgi?id=48543
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Updated•4 years ago
|
Attachment #9196020 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•