Closed Bug 774066 Opened 7 years ago Closed 7 years ago

nsTextControlFrame::ValueSetter has some unused fields

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set

Tracking

()

RESOLVED DUPLICATE of bug 774038

People

(Reporter: heycam, Unassigned)

References

(Blocks 1 open bug)

Details

clang warns:

/Volumes/Data/moz/central/layout/forms/nsTextControlFrame.h:213:25: warning: private field 'mFrame' is not used [-Wunused-private-field]

But also, mCancel is not usefully used.  The only use of nsTextControlFrame::ValueSetter that I see is in content/html/content/src/nsTextEditorState.cpp.  I don't know if it is expecting that calling Cancel() should be doing something useful.
Blocks: buildwarning
Looks like these were removed by bug 774038.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 774038
You need to log in before you can comment on or make changes to this bug.