Closed Bug 1334796 Opened 7 years ago Closed 7 years ago

StartupCache.cpp: redundant return statement at the end of a function with a void return type

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: Sylvestre, Assigned: barun.parruck, Mentored)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file)

This is a very easy good first bug for a beginner.

The following return; declaration is useless as we are at the end of the function/method
https://dxr.mozilla.org/mozilla-central/source/startupcache/StartupCache.cpp?q=StartupCache.cpp&redirect_type=direct#460
Keywords: good-first-bug
Whiteboard: [good first bug][lang=C++] → [lang=C++]
Comment on attachment 8831487 [details]
Bug 1334796 : Removes redundant return statement in void function

Good, now, like the other bug, please find the appropriate reviewer.

Btw, as you are working on two super easy good first bug, please the rest to others.
Attachment #8831487 - Flags: feedback+
Assignee: nobody → barun.parruck
Thank you, I will do that! Could you recommend a more tricky bug to resolve? :)
You will find more complex bugs here: 
https://whatcanidoformozilla.org/
Attachment #8831487 - Flags: review?(nfroyd)
Comment on attachment 8831487 [details]
Bug 1334796 : Removes redundant return statement in void function

https://reviewboard.mozilla.org/r/108024/#review110872

Thank you!
Attachment #8831487 - Flags: review?(nfroyd) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05cc1b9c1cf1
Removes redundant return statement in void function r=froydnj
https://hg.mozilla.org/mozilla-central/rev/05cc1b9c1cf1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: