Closed Bug 1669834 Opened 4 years ago Closed 4 years ago

nsChromeRegistry.cpp: do not use 'else' after 'return'

Categories

(Core :: General, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1669833

People

(Reporter: Sylvestre, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=C++])

+++ This bug was initially created as a clone of Bug #1669833 +++

Filling as a good first bug to learn workflows.

do not use 'else' after 'return':
https://searchfox.org/mozilla-central/source/chrome/nsChromeRegistry.cpp#198-229

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

Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.

Hi,
I am new to the Open Source Community and want to contribute. I have no idea how to begin. Can someone please explain and guide me on how to proceed with fixing my first bug?

Please look at the doc here:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If this is too complex for you, you should start with smaller project ;)

This bug has been resolved. Someone should change its status.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.