Closed Bug 1684648 Opened 3 years ago Closed 3 years ago

nsHttpHeaderArray.cpp: do not use 'else' after 'continue'

Categories

(Core :: Networking: HTTP, task)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: Sylvestre, Assigned: cshankerjha, Mentored)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file, 1 obsolete file)

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

Filling as a good first bug to learn workflows.

do not use 'else' after 'continue'
https://searchfox.org/mozilla-central/rev/809ac3660845fef6faf18ec210232fdadc0f1ad9/netwerk/protocol/http/nsHttpHeaderArray.cpp#295-303

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.

I am new to contributing can I work on this

Hello!
I just added the patch and seems that I haven't been assigned yet.
Also what should I write in the commit message in place of a reviewer?

Assignee: nobody → cshankerjha
Status: NEW → ASSIGNED

YaY!

Attachment #9195123 - Attachment is obsolete: true
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89adfb937c59
nsHttpHeaderArray.cpp: do not use 'else' after 'continue' r=necko-reviewers,kershaw
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: