Closed Bug 1604393 Opened 5 years ago Closed 5 years ago

Dead assignment in nsImageFrame::DisplayAltFeedbackWithoutLayer

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: alexhenrie24, Assigned: alexhenrie24)

Details

Attachments

(1 file)

nsImageFrame::DisplayAltFeedbackWithoutLayer currently sets the variable result to the constant ImgDrawResult::SUCCESS when not drawing an image placeholder, but then never uses result. This code was copied and pasted from nsImageFrame::DisplayAltFeedback where the result variable is used, but there's no reason to do the same here.

Assignee: nobody → alexhenrie24
Status: NEW → ASSIGNED
Priority: -- → P3
Pushed by ncsoregi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c08f77ca863c Remove dead assignment from nsImageFrame::DisplayAltFeedbackWithoutLayer. r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 5 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: