Closed Bug 1604099 Opened 5 years ago Closed 5 years ago

Redundant call to GetColCount in nsCellMap::ShrinkWithoutCell

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: alexhenrie24, Assigned: alexhenrie24)

Details

Attachments

(1 file)

nsCellMap::ShrinkWithoutCell currently sets numCols to aMap.GetColCount() twice, but numCols is not used until after it is set the second time. Since the GetColCount function just returns a value without changing anything, the first call to GetColCount can simply be removed.

Assignee: nobody → alexhenrie24
Status: NEW → ASSIGNED
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3918dafc6a8
Remove redundant call to GetColCount from nsCellMap::ShrinkWithoutCell. r=emilio
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: