Closed Bug 1592270 Opened 5 years ago Closed 5 years ago

Remove useless continue; declaration

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: Sylvestre, Assigned: jeffinsam, Mentored)

References

(Blocks 1 open bug)

Details

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

Attachments

(2 files)

Filling as a good first bug to learn workflows.

As continue; is at the end of the loop, the declaration is useless
https://searchfox.org/mozilla-central/rev/11d9c7b7fa82fdfb8ac2a8f0864e9d8d5fe2b926/dom/media/MediaCache.cpp#2561

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

Priority: -- → P3
Type: task → defect
Keywords: good-first-bug
Type: defect → task

We need a diff, not the full file
and please use Phabricator, not bugzilla for code submission!

There are so many branches in phabricator for this same code though! Which one should be changed? https://phabricator.services.mozilla.com/source/mozilla-central/repository/default/

Flags: needinfo?(sledru)

yeah, mozilla-central is the right one

Flags: needinfo?(sledru)

I want to contribute , Please guide me how can i contribute?

Flags: needinfo?(sledru)

Sure, you should read the documentation, it should be easy to fix.

Flags: needinfo?(sledru)

I am interested in working on this issue. Do we just need to remove the continue in MediaCache.cpp for this issue?

yes, correct

Are there any tests available for MediaCache.cpp that I can run?

Just build it, it will be enough as the change is trivial ;)

Okay perfect!

Is it fixed? If not then I would like to work on it as I'm just getting started with contributions.

Assignee: nobody → jeffinsam

To other, I have similar issues like this one. please send me an email if you are interested!

Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c10fb6eef908
Remove useless continue; declaration r=sylvestre
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: