Closed
Bug 1684646
Opened 4 years ago
Closed 4 years ago
OggCodecState.cpp: do not use 'else' after 'return'
Categories
(Core :: General, task)
Core
General
Tracking
()
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: nirmay, Mentored)
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 #1684641 +++
Filling as a good first bug to learn workflows.
do not use 'else' after 'return'
https://searchfox.org/mozilla-central/rev/809ac3660845fef6faf18ec210232fdadc0f1ad9/dom/media/ogg/OggCodecState.cpp#1773-1783
The 3 else can probably be removed.
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.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → nirmay.dhruv
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Attachment #9196151 -
Attachment is obsolete: true
Assignee | ||
Comment 3•4 years ago
|
||
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14644a05ef4b
Removed 'else' after 'return'. r=jgilbert
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Updated•4 years ago
|
Attachment #9195131 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•