Closed Bug 1603100 Opened 4 years ago Closed 4 years ago

Remove unused declaration in U2F.cpp

Categories

(Developer Infrastructure :: Lint and Formatting, task, P3)

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: Sylvestre, Assigned: mbansal, Mentored)

References

(Blocks 1 open bug)

Details

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

Attachments

(4 files, 5 obsolete files)

Filling as a good first bug to learn workflows.

These line seems to be unused:
https://searchfox.org/mozilla-central/source/dom/u2f/U2F.cpp#34

As the change is trivial, it is just to learn how to contribute to Firefox.

Found by clang diag https://clang.llvm.org/docs/DiagnosticsReference.html#wunused-variable

Tutorial to contribute:
https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html

Who do I put in the reviewer tag, i.e. "r="?

(In reply to Mahak from comment #1)

according to the link, to clone the repo I used 'hg clone https://hg.mozilla.org/mozilla-central/' this command but this command does not contain the repo of given issue .

Sorry but I don't understand what you mean here?!

Attached file Bug 1603100 is fixed

Depends on D57058

Attachment #9115684 - Attachment is obsolete: true
Attachment #9115684 - Attachment is obsolete: false
Assignee: nobody → atiwarixs
Status: NEW → ASSIGNED

(In reply to Sylvestre Ledru [:Sylvestre] from comment #4)

Who do I put in the reviewer tag, i.e. "r="?

Please see: https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html#to-write-a-patch

Sir ,
I fixed the bug but why it is assigned to someone else ?
And Also I'm not able to find who is the reviewer .
Please help

Attachment #9115684 - Attachment is obsolete: true
Attachment #9115684 - Attachment is obsolete: false
Attachment #9115685 - Attachment is obsolete: true
Attachment #9115701 - Attachment is obsolete: true

I fixed the bug but why it is assigned to someone else ?

Not sure. I set you as owner.

Ash, please don't take ongoing bugs from others. If you want another good first bug, please let me an email.

And Also I'm not able to find who is the reviewer ?

hg log will tell you

Assignee: atiwarixs → mahakbansal5015
Attachment #9115685 - Attachment is obsolete: false
Attachment #9115685 - Attachment description: Bug 1603100 has removed the extra line ? Gabriele Svelto → Bug 1603100 has removed the unused line ? Andrew Halberstadt
Attachment #9115684 - Attachment is obsolete: true
Attachment #9115684 - Attachment is obsolete: false
Attachment #9115685 - Attachment is obsolete: true
Attached patch U2F.cpp (obsolete) — Splinter Review

Bug 1603100 removes the unused line r?Andrew Halberstadt

Attachment #9115684 - Attachment is obsolete: true
Attachment #9115739 - Attachment is obsolete: true
Attachment #9115685 - Attachment is obsolete: false
Attachment #9115684 - Attachment is obsolete: false
Attachment #9115685 - Attachment description: Bug 1603100 has removed the unused line ? Andrew Halberstadt → Bug 1603100 has removed the extra line ? Gabriele Svelto

Depends on D57059

Sir,
I did use hg log and it displayed all the commits but how will I distinguish the reviewer from others ..
Could you please help me.

Mahak,
I am really sorry but I don't think you are ready yet to contribute to Firefox. All the information that you need to contribute are referenced on the doc.
I think you should probably start with easier projects (for example, hosted on github). Firefox isn't a trivial project to start contributing.

I unassigned the bug to you.

Assignee: mahakbansal5015 → nobody
Status: ASSIGNED → NEW
Attachment #9115684 - Attachment is obsolete: true
Attachment #9115685 - Attachment is obsolete: true
Attachment #9115718 - Attachment is obsolete: true
Attachment #9115745 - Attachment is obsolete: true
Attachment #9115684 - Attachment is obsolete: false
Attachment #9115685 - Attachment is obsolete: false

(In reply to Sylvestre Ledru [:Sylvestre] from comment #15)

Mahak,
I am really sorry but I don't think you are ready yet to contribute to Firefox. All the information that you need to contribute are referenced on the doc.
I think you should probably start with easier projects (for example, hosted on github). Firefox isn't a trivial project to start contributing.

I unassigned the bug to you.

Sir,
I understand what you are saying and I respect that you have answered so many silly questions.
I thank you for all and just want to ask from where should I start to contribute to open source and what are easy github projects ?

(In reply to Mahak from comment #16)

(In reply to Sylvestre Ledru [:Sylvestre] from comment #15)

Mahak,
I am really sorry but I don't think you are ready yet to contribute to Firefox. All the information that you need to contribute are referenced on the doc.
I think you should probably start with easier projects (for example, hosted on github). Firefox isn't a trivial project to start contributing.

I unassigned the bug to you.

Sir,
I understand what you are saying and I respect that you have answered so many silly questions.
I thank you for all and just want to ask from where should I start to contribute to open source and what are easy github projects ?

If I may, https://github.com/MunGell/awesome-for-beginners could help. Very beginner-friendly.

Assignee: nobody → atiwarixs
Status: NEW → ASSIGNED
Attached patch D61417.diffSplinter Review

I have submitted a patch as I thought No one was working on this .
I request for the review

I have used the process given in the doc and have used phabricator.
Could you please point out where I'm going wrong?

Not sure how you did that wrong
but https://bug1603100.bmoattachments.org/attachment.cgi?id=9123966 is a bugzilla attachement, not a phab review

Attachment #9124000 - Attachment description: Bug 1603100 fixes the unused line by removing it → Bug 1603100 - Remove the unused line in U2F.cpp. r?sylvestre
Attachment #9124032 - Attachment is obsolete: true

I guess I have made the required changes .
@Sylvestre can you please review it?

Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2614c67d7e65
Remove the unused line in U2F.cpp. r=sylvestre
Attachment #9124032 - Attachment is obsolete: false

Thanks for the Motivation @sylvestre .
I just want to know when I show this as my contribution ,Does this make a difference that it is assigned to someone else?

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74

(In reply to Mahak from comment #27)

Thanks for the Motivation @sylvestre .
I just want to know when I show this as my contribution ,Does this make a difference that it is assigned to someone else?

Phabricator automatically updated the assignee based on the patches that were uploaded on phabricator at that time. Restoring the field to the correct value.

Assignee: atiwarixs → mbansal
Attachment #9124032 - Attachment is obsolete: true
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: