Closed Bug 1604011 Opened 6 years ago Closed 6 years ago

Dead assignment in StreamLoader::OnStopRequest

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: alexhenrie24, Assigned: alexhenrie24)

Details

Attachments

(1 file)

StreamLoader::OnStopRequest has a variable rv which at one point is set to the constant NS_OK. However, this assignment is unnecessary because after that either rv is assigned a new value or it is never used. The assignment has been a dead assignment since Bug 1457920 was fixed in April 2018.

Assignee: nobody → alexhenrie24
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/273abf200022 Remove dead assignment from StreamLoader::OnStopRequest. r=emilio,xidorn
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: